summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-03-10 10:41:52 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-03-10 10:41:52 (GMT)
commite8f5e86f5072b8dd809e8b30febfe337415c6f19 (patch)
tree05480a4fc4617f026784f743cf431bd0b11164a6
parentacd8b885df46459e6873f6e33e560eed8593c0ef (diff)
downloadlqa-e8f5e86f5072b8dd809e8b30febfe337415c6f19.tar.gz
lqa-e8f5e86f5072b8dd809e8b30febfe337415c6f19.tar.xz
Only split on the left-most : for comandline varialbes
-rw-r--r--lqa_tool/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lqa_tool/__init__.py b/lqa_tool/__init__.py
index 5a6dde8..fa74fcf 100644
--- a/lqa_tool/__init__.py
+++ b/lqa_tool/__init__.py
@@ -183,7 +183,7 @@ class Lava(object):
# The variables translates to a hash that we can easily use
# for mapping the fields -> values in the json template
for field in fields:
- k, v = field.split(':')
+ k, v = field.split(':', 1)
variables[k] = v
# Get the job files from either the command line '-j' or the profile.