Commit cd5315eb authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed style issues.

parent f2915453
Pipeline #1610 passed with stage
in 10 minutes and 47 seconds
......@@ -530,7 +530,7 @@ class JobConfig(object):
with open(self.kwargs['json_config'], 'r') as inF:
params_dict = json.loads(jsmin(inF.read()))
except JSONDecodeError:
warnings.warn('The given JSON options file %s could not be decoded. '
warnings.warn('The given JSON options file %s could not be decoded. '
'JSON decoder failed with the following error:' % self.kwargs['json_config'])
raise
......
......@@ -65,4 +65,3 @@ class Test_JobConfig(TestCase):
cfg = os.path.join(__path__[0], 'options_default.json')
cfg = JobConfig(self.jobID, self.db_host, json_config=cfg)
self.assertIsInstance(cfg, JobConfig)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment