[csw-devel] SF.net SVN: gar:[13200] csw/mgar/gar/v2/lib/web/releases_web.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sat Feb 5 20:37:17 CET 2011
Revision: 13200
http://gar.svn.sourceforge.net/gar/?rev=13200&view=rev
Author: wahwah
Date: 2011-02-05 19:37:17 +0000 (Sat, 05 Feb 2011)
Log Message:
-----------
releases_web: Remove 'code_version' bit
It was used to check if my changes made it to the web server.
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-02-05 19:36:48 UTC (rev 13199)
+++ csw/mgar/gar/v2/lib/web/releases_web.py 2011-02-05 19:37:17 UTC (rev 13200)
@@ -142,7 +142,6 @@
is to add the 'Content-Length' header. However, it sometimes still gets
stuck and I don't know why.
"""
- code_version = "0x02"
configuration.SetUpSqlobjectConnection()
if catrel_name != 'unstable':
# Updates via web are allowed only for the unstable catalog.
@@ -183,7 +182,6 @@
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
@@ -195,7 +193,6 @@
'application/x-vnd.opencsw.pkg;type=error-message')
response = json.dumps({
"error_message": unicode(e),
- "code_version": code_version,
})
web.header('Content-Length', len(response))
return response
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