summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Bzr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Bzr.py b/src/lib/Server/Plugins/Bzr.py
index 6498b006e..ef99be1ed 100644
--- a/src/lib/Server/Plugins/Bzr.py
+++ b/src/lib/Server/Plugins/Bzr.py
@@ -35,7 +35,7 @@ class Bzr(Bcfg2.Server.Plugin.Plugin,
data = Popen(("env LC_ALL=C bzr revno %s" %
(self.datastore)), shell=True,
stdout=PIPE).stdout.readlines()
- revision = data
+ revision = data[0]
except IndexError:
logger.error("Failed to read bzr revno; disabling Bazaar support")
logger.error('''Ran command "bzr revno %s"''' % \