summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-01-28 17:59:23 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-01-28 17:59:23 +0000
commit9c1d1c4044cf5ffdae4541ef11816c21f4c2b9b7 (patch)
tree6aef1317e392ed5007a089272c0562d25ffb6aa7
parent06b30ceeb260151edc91805f671ed889a2164353 (diff)
downloadbcfg2-9c1d1c4044cf5ffdae4541ef11816c21f4c2b9b7.tar.gz
bcfg2-9c1d1c4044cf5ffdae4541ef11816c21f4c2b9b7.tar.bz2
bcfg2-9c1d1c4044cf5ffdae4541ef11816c21f4c2b9b7.zip
Fix tb caused by non-string revision
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5046 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index ad5573201..c9163a29a 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -216,7 +216,7 @@ class Core(object):
if isinstance(plugin, Bcfg2.Server.Plugin.Version):
self.revision = plugin.get_revision()
else:
- self.revision = -1
+ self.revision = '-1'
def GetDecisions(self, metadata, mode):
result = []