[Checkins] SVN: zope.z2release/trunk/zope/z2release/cli.py We don't need to special case Zope2, a version pin is included in the cfg itself

Hanno Schlichting hannosch at hannosch.eu
Tue Jul 13 06:00:42 EDT 2010


Log message for revision 114685:
  We don't need to special case Zope2, a version pin is included in the cfg itself
  

Changed:
  U   zope.z2release/trunk/zope/z2release/cli.py

-=-
Modified: zope.z2release/trunk/zope/z2release/cli.py
===================================================================
--- zope.z2release/trunk/zope/z2release/cli.py	2010-07-13 09:58:51 UTC (rev 114684)
+++ zope.z2release/trunk/zope/z2release/cli.py	2010-07-13 10:00:41 UTC (rev 114685)
@@ -47,14 +47,12 @@
 
     server = Server('http://pypi.python.org/pypi')
 
-    version = tag.split('/')[-1]
     versions_url = 'http://svn.zope.org/*checkout*/Zope/%s/versions.cfg' % tag
     version_file = os.path.join(dirname, 'versions.cfg')
     fetch_cfg(versions_url, version_file)
 
     CP = CasePreservingConfigParser()
     CP.read(version_file)
-    write_index(server, 'Zope2', version, dirname)
     write_versions(CP, server, dirname)
 
     buildout = CP.options('buildout')



More information about the checkins mailing list