[Piuparts-commits] rev 192 - in trunk: . debian

Holger Levsen holger at alioth.debian.org
Mon Mar 9 23:32:57 UTC 2009


Author: holger
Date: 2009-03-09 23:32:57 +0000 (Mon, 09 Mar 2009)
New Revision: 192

Modified:
   trunk/debian/changelog
   trunk/piuparts.py
Log:
Output path to temp directory if -k is used. (Closes: #466112)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-03-09 23:24:40 UTC (rev 191)
+++ trunk/debian/changelog	2009-03-09 23:32:57 UTC (rev 192)
@@ -2,6 +2,7 @@
 
   * Fix recursive failure which occured when selinux-utils was installed but
     not enabled. Thanks to Peter De Wachter for the patch. (Closes: #519017)
+  * Output path to temp directory if -k is used. (Closes: #466112)
 
  -- Holger Levsen <holger at debian.org>  Tue, 10 Mar 2009 00:19:53 +0100
 

Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py	2009-03-09 23:24:40 UTC (rev 191)
+++ trunk/piuparts.py	2009-03-09 23:32:57 UTC (rev 192)
@@ -566,6 +566,8 @@
             self.unmount_selinux()
             shutil.rmtree(self.name)
             logging.debug("Removed directory tree at %s" % self.name)
+        elif settings.keep_tmpdir:
+            logging.debug("Keeping directory tree at %s" % self.name)	
 
     def create_temp_tgz_file(self):
         """Return the path to a file to be used as a temporary tgz file"""




More information about the Piuparts-commits mailing list