summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Fossil.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Fossil.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Fossil.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Fossil.py b/src/lib/Bcfg2/Server/Plugins/Fossil.py
index f6735df12..6165ac651 100644
--- a/src/lib/Bcfg2/Server/Plugins/Fossil.py
+++ b/src/lib/Bcfg2/Server/Plugins/Fossil.py
@@ -20,11 +20,11 @@ class Fossil(Bcfg2.Server.Plugin.Version):
"""Read fossil revision information for the Bcfg2 repository."""
try:
data = Popen("env LC_ALL=C fossil info",
- shell=True,
- cwd=self.vcs_root,
- stdout=PIPE).stdout.readlines()
- revline = [line.split(': ')[1].strip() for line in data if \
- line.split(': ')[0].strip() == 'checkout'][-1]
+ shell=True,
+ cwd=self.vcs_root,
+ stdout=PIPE).stdout.readlines()
+ revline = [line.split(': ')[1].strip() for line in data
+ if line.split(': ')[0].strip() == 'checkout'][-1]
return revline.split(' ')[0]
except IndexError:
msg = "Failed to read fossil info"