summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ef99be1ed..021cf3ab1 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[0]
+ revision = data[0].rstrip('\n')
except IndexError:
logger.error("Failed to read bzr revno; disabling Bazaar support")
logger.error('''Ran command "bzr revno %s"''' % \