summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2010-06-10 14:11:48 -0500
committerSol Jerome <sol.jerome@gmail.com>2010-06-10 14:11:48 -0500
commite89e645ff0cbdbf74929c13f2db588c3de5d5a0e (patch)
tree19a1be6594855cbc107c53a528c0fbeed6d35a3f /src/lib/Client/Tools
parent0e0018b198d48e9aa9d54fd03e73edef6876a92c (diff)
downloadbcfg2-e89e645ff0cbdbf74929c13f2db588c3de5d5a0e.tar.gz
bcfg2-e89e645ff0cbdbf74929c13f2db588c3de5d5a0e.tar.bz2
bcfg2-e89e645ff0cbdbf74929c13f2db588c3de5d5a0e.zip
tabs -> spaces
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Client/Tools')
-rw-r--r--src/lib/Client/Tools/SYSV.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Client/Tools/SYSV.py b/src/lib/Client/Tools/SYSV.py
index 20e13c177..c2b0eb2cc 100644
--- a/src/lib/Client/Tools/SYSV.py
+++ b/src/lib/Client/Tools/SYSV.py
@@ -49,11 +49,11 @@ class SYSV(Bcfg2.Client.Tools.PkgTool):
# Build list of packages
lines = self.cmd.run("/usr/bin/pkginfo -x")[1]
while lines:
- # Splitting on whitespace means that packages with spaces in
- # their version numbers don't work right. Found this with
- # IBM TSM software with package versions like
- # "Version 6 Release 1 Level 0.0"
- # Should probably be done with a regex but this works.
+ # Splitting on whitespace means that packages with spaces in
+ # their version numbers don't work right. Found this with
+ # IBM TSM software with package versions like
+ # "Version 6 Release 1 Level 0.0"
+ # Should probably be done with a regex but this works.
version = lines.pop().split(') ')[1]
pkg = lines.pop().split()[0]
self.installed[pkg] = version