Skip to content

Commit 926c305

Browse files
authored
Bug fix/missing import (#610)
* oskar seems to think different * oskar seems to think different
1 parent 3f0654b commit 926c305

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: jenkins/helper/test_config.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ def __init__(self,
6767
# the yaml work around is to have an A prepended. detect and strip out:
6868
if arangosh_args is not None and len(arangosh_args) > 0 and arangosh_args != 'A ""':
6969
print(arangosh_args)
70-
self.arangosh_args = json.loads(arangosh_args[1:])
70+
if isinstance(arangosh_args, list):
71+
self.arangosh_args = arangosh_args
72+
else:
73+
self.arangosh_args = json.loads(arangosh_args[1:])
7174
self.args = copy.deepcopy(cfg.extra_args)
7275
for param in args:
7376
if param.startswith('$'):

0 commit comments

Comments
 (0)