[csw-devel] SF.net SVN: gar:[14835] csw/mgar/gar/v2/lib/web/releases_web.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Fri Jun 17 11:55:35 CEST 2011
Revision: 14835
http://gar.svn.sourceforge.net/gar/?rev=14835&view=rev
Author: wahwah
Date: 2011-06-17 09:55:34 +0000 (Fri, 17 Jun 2011)
Log Message:
-----------
pkgdb-web: Return errors when pkg aren't inserted
The previous behavior was to silently ignore errors.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/web/releases_web.py
Modified: csw/mgar/gar/v2/lib/web/releases_web.py
===================================================================
--- csw/mgar/gar/v2/lib/web/releases_web.py 2011-06-17 09:53:36 UTC (rev 14834)
+++ csw/mgar/gar/v2/lib/web/releases_web.py 2011-06-17 09:55:34 UTC (rev 14835)
@@ -195,7 +195,7 @@
"error_message": unicode(e),
})
web.header('Content-Length', len(response))
- return response
+ raise web.notacceptable(data=response)
def DELETE(self, catrel_name, arch_name, osrel_name, md5_sum):
configuration.SetUpSqlobjectConnection()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list