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

Luk Claes luk at alioth.debian.org
Mon May 5 10:33:26 UTC 2008


Author: luk
Date: 2008-05-05 10:33:25 +0000 (Mon, 05 May 2008)
New Revision: 152

Modified:
   trunk/debian/changelog
   trunk/piuparts.py
Log:
Added -w to lsof call to suppress warnings. (Closes: #466102).

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-05 09:55:54 UTC (rev 151)
+++ trunk/debian/changelog	2008-05-05 10:33:25 UTC (rev 152)
@@ -15,8 +15,11 @@
   * Ignore /var/cache/ldconfig/aux-cache.
   * Added myself to uploaders.
 
- -- Lucas Nussbaum <lucas at lucas-nussbaum.net>  Mon, 05 May 2008 11:55:33 +0200
+  [ Luk Claes ]
+  * Added -w to lsof call to suppress warnings. (Closes: #466102).
 
+ -- Luk Claes <luk at lukdock>  Mon, 05 May 2008 12:31:59 +0200
+
 piuparts (0.30) unstable; urgency=low
 
   * piuparts.py:

Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py	2008-05-05 09:55:54 UTC (rev 151)
+++ trunk/piuparts.py	2008-05-05 10:33:25 UTC (rev 152)
@@ -850,7 +850,7 @@
 	    
     def check_for_no_processes(self):
         """Check there are no processes running inside the chroot."""
-        (status, output) = run(["lsof", "+D", self.name], ignore_errors=True)
+        (status, output) = run(["lsof", "-w", "+D", self.name], ignore_errors=True)
         count = len(output.split("\n")) - 1
         if count > 0:
             logging.error("Processes are running inside chroot:\n%s" % 




More information about the Piuparts-commits mailing list