[Piuparts-commits] rev 80 - trunk
Ana Beatriz Guerrero López
ana at alioth.debian.org
Wed Aug 29 11:42:34 UTC 2007
Author: ana
Date: 2007-08-29 11:42:34 +0000 (Wed, 29 Aug 2007)
New Revision: 80
Modified:
trunk/piuparts.py
Log:
replace tabs with space, no code changes.
Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py 2007-08-29 11:21:00 UTC (rev 79)
+++ trunk/piuparts.py 2007-08-29 11:42:34 UTC (rev 80)
@@ -154,10 +154,10 @@
"/dev/",
"/etc/ssl/certs(/.*)?",
"/lib/modules/.*/modules.*",
- "/usr/lib/python2\../site-packages/debconf.py[co]",
+ "/usr/lib/python2\../site-packages/debconf.py[co]",
"/var/lib/cvs(/.*)?",
"/var/lib/dpkg/alternatives",
- "/var/lib/maxdb(/.*)?",
+ "/var/lib/maxdb(/.*)?",
"/var/lib/onak(/.*)?",
"/var/lib/papercut(/.*)?",
"/var/log/exim/.*",
@@ -813,17 +813,17 @@
def run_scripts (self, step):
""" Run custom scripts to given step post-install|remove|purge"""
-
- if settings.scriptsdir is None:
- exit
+
+ if settings.scriptsdir is None:
+ exit
logging.info("Running scripts post "+ step)
basepath = self.relative("tmp/scripts/")
- list_scripts = os.listdir(basepath)
- list_scripts.sort()
+ list_scripts = os.listdir(basepath)
+ list_scripts.sort()
for file in list_scripts:
- if file.startswith(step):
- script = os.path.join("tmp/scripts", file)
- self.run([script])
+ if file.startswith(step):
+ script = os.path.join("tmp/scripts", file)
+ self.run([script])
More information about the Piuparts-commits
mailing list