[Checkins] SVN: zc.mirrorcheeseshopslashsimple/trunk/src/zc/mirrorcheeseshopslashsimple.py try without the "test" extra; it did not seem to have any effect.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Oct 5 21:44:34 EDT 2007


Log message for revision 80680:
  try without the "test" extra; it did not seem to have any effect.
  

Changed:
  U   zc.mirrorcheeseshopslashsimple/trunk/src/zc/mirrorcheeseshopslashsimple.py

-=-
Modified: zc.mirrorcheeseshopslashsimple/trunk/src/zc/mirrorcheeseshopslashsimple.py
===================================================================
--- zc.mirrorcheeseshopslashsimple/trunk/src/zc/mirrorcheeseshopslashsimple.py	2007-10-06 01:07:40 UTC (rev 80679)
+++ zc.mirrorcheeseshopslashsimple/trunk/src/zc/mirrorcheeseshopslashsimple.py	2007-10-06 01:44:33 UTC (rev 80680)
@@ -162,15 +162,15 @@
         args = sys.argv[1:]
 
     if len(args) != 2:
-        print "Usage: dest index_url"
+        print "Usage: cfg_dir index_url"
         sys.exit(1)
 
-    dest = os.path.abspath(args[0])
+    cfg_dir = os.path.abspath(args[0])
     index_url = args[1]
 
     # Extract a list of all packages that need to be tested and record the
     # version to be tested. By default this version is the last available one.
-    cpath = os.path.join(dest, controlled_packages_path)
+    cpath = os.path.join(cfg_dir, controlled_packages_path)
     config = ConfigParser.RawConfigParser()
     config.read(cpath)
     packages = []
@@ -187,7 +187,7 @@
     data = {
         'index_url': index_url,
         'tested-packages': '\n    '.join(
-            [p + ' [test]' for (p, v, t) in packages if t]),
+            [p for (p, v, t) in packages if t]),
         'versions': '\n'.join([p + ' = ' + v for (p, v, t) in packages])
         }
 



More information about the Checkins mailing list