diff options
author | David Strauss <david@fourkitchens.com> | 2009-09-23 06:19:14 +0000 |
---|---|---|
committer | David Strauss <david@fourkitchens.com> | 2009-09-23 06:19:14 +0000 |
commit | cdfa988970de5dca8b29ff29c1d5d22c1a9556d8 (patch) | |
tree | d754db18530584a708792ffcb5a73df1705dc61c /src | |
parent | 43c8a687653ccf2ae38310afab3d128d149ff869 (diff) | |
download | bcfg2-cdfa988970de5dca8b29ff29c1d5d22c1a9556d8.tar.gz bcfg2-cdfa988970de5dca8b29ff29c1d5d22c1a9556d8.tar.bz2 bcfg2-cdfa988970de5dca8b29ff29c1d5d22c1a9556d8.zip |
Revision returned by Bzr should be a scalar value.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5452 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Bzr.py | 2 |
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"''' % \ |