[csw-devel] SF.net SVN: gar:[13074] csw/mgar/gar/v2/lib/web/releases_web.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Jan 23 17:22:21 CET 2011
Revision: 13074
http://gar.svn.sourceforge.net/gar/?rev=13074&view=rev
Author: wahwah
Date: 2011-01-23 16:22:21 +0000 (Sun, 23 Jan 2011)
Log Message:
-----------
releases_web: Small change in presentation.
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-01-23 16:20:53 UTC (rev 13073)
+++ csw/mgar/gar/v2/lib/web/releases_web.py 2011-01-23 16:22:21 UTC (rev 13074)
@@ -161,11 +161,11 @@
web.header(
'Content-type',
'application/x-vnd.opencsw.pkg;type=catalog-update')
- response = json.dumps({
- "message": "Added to catalog %s %s %s\n%s"
- % (catrel_name, arch_name, osrel_name, srv4.basename),
- "code_version": code_version,
- })
+ response = json.dumps([
+ u"Added to catalog %s %s %s" % (catrel_name, arch_name, osrel_name),
+ u"%s" % srv4.basename,
+ u"code_version" + str(code_version),
+ ])
web.header('Content-Length', len(response))
return response
except (
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