Commit 1b436c73 authored by eric pellegrini's avatar eric pellegrini

the job short name appears now explicitely in the saved job files

parent c7ce7c19
......@@ -292,8 +292,8 @@ class IJob(Configurable):
f.write('################################################################\n')
f.write('\n')
f.write('job = REGISTRY[%r][%r]()\n' % ('job',cls._type))
f.write('job.run(parameters,status=True)')
f.write('%s = REGISTRY[%r][%r]()\n' % (cls._type,'job',cls._type))
f.write('%s.run(parameters,status=True)' % (cls._type))
f.close()
......
Markdown is supported
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