[Checkins] SVN: zope.z2release/trunk/ Support packages with underscores in their name.

Hanno Schlichting hannosch at hannosch.eu
Tue Jul 13 05:11:46 EDT 2010


Log message for revision 114676:
  Support packages with underscores in their name.
  

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

-=-
Modified: zope.z2release/trunk/CHANGES.txt
===================================================================
--- zope.z2release/trunk/CHANGES.txt	2010-07-13 08:55:24 UTC (rev 114675)
+++ zope.z2release/trunk/CHANGES.txt	2010-07-13 09:11:45 UTC (rev 114676)
@@ -4,6 +4,7 @@
 0.6 - unreleased
 ----------------
 
+- Support packages with underscores in their name.
 
 0.5 - 2010-06-30
 ----------------

Modified: zope.z2release/trunk/zope/z2release/cli.py
===================================================================
--- zope.z2release/trunk/zope/z2release/cli.py	2010-07-13 08:55:24 UTC (rev 114675)
+++ zope.z2release/trunk/zope/z2release/cli.py	2010-07-13 09:11:45 UTC (rev 114676)
@@ -48,6 +48,8 @@
         version = CP.get('versions', package)
         if '#' in version:
             version = version.split('#')[0].strip()
+        if '_' in package:
+            package = package.replace('_', '-')
         write_index(server, package, version, dirname)
 
 if __name__ == '__main__':



More information about the checkins mailing list