[Piuparts-commits] rev 771 - trunk

Holger Levsen holger at alioth.debian.org
Sat Nov 13 22:56:17 UTC 2010


Author: holger
Date: 2010-11-13 22:56:17 +0000 (Sat, 13 Nov 2010)
New Revision: 771

Modified:
   trunk/piuparts-master.py
   trunk/piuparts-report.py
Log:
try harder

Modified: trunk/piuparts-master.py
===================================================================
--- trunk/piuparts-master.py	2010-11-13 22:36:27 UTC (rev 770)
+++ trunk/piuparts-master.py	2010-11-13 22:56:17 UTC (rev 771)
@@ -203,9 +203,9 @@
         known_circular_depends = config["known_circular_depends"]
 
         m = Master(sys.stdin, sys.stdout, packages_file, known_circular_depends, section=section)
-        packages_file.close()
         while m.do_transaction():
             pass
+        packages_file.close()
     else:
         print 'piuparts-master needs to be called with a valid sectionname as argument, exiting...'
         sys.exit(1)

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2010-11-13 22:36:27 UTC (rev 770)
+++ trunk/piuparts-report.py	2010-11-13 22:56:17 UTC (rev 771)
@@ -31,7 +31,6 @@
 import ConfigParser
 import urllib
 import shutil
-import string
 import re
 import string
 




More information about the Piuparts-commits mailing list