[Treepkg-commits] r500 - trunk/contrib/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jan 10 12:36:56 CET 2011


Author: teichmann
Date: 2011-01-10 12:36:55 +0100 (Mon, 10 Jan 2011)
New Revision: 500

Modified:
   trunk/contrib/bin/delete-old-debs.py
Log:
contrib: Small bug fixes in delete-old-debs.py.


Modified: trunk/contrib/bin/delete-old-debs.py
===================================================================
--- trunk/contrib/bin/delete-old-debs.py	2011-01-10 09:49:34 UTC (rev 499)
+++ trunk/contrib/bin/delete-old-debs.py	2011-01-10 11:36:55 UTC (rev 500)
@@ -126,9 +126,9 @@
             continue
 
         for deb in oldest_debs(deb_dir, keep):
-            log.debug("remove '%s'" % deb)
+            log.info("remove '%s'" % deb)
             remove(deb)
-            changes = deb.path[:-3] + "changes"
+            changes = deb[:-3] + "changes"
             if os.path.isfile(changes):
                 log.info("remove '%s'" % changes)
                 remove(changes)



More information about the Treepkg-commits mailing list