##// END OF EJS Templates
passthrough kwargs in WinHPCTask `__init__` methods
MinRK -
Show More
@@ -264,8 +264,8 b' class IPControllerTask(WinHPCTask):'
264 unit_type = Unicode("Core", config=False)
264 unit_type = Unicode("Core", config=False)
265 work_directory = Unicode('', config=False)
265 work_directory = Unicode('', config=False)
266
266
267 def __init__(self, config=None):
267 def __init__(self, **kwargs):
268 super(IPControllerTask, self).__init__(config=config)
268 super(IPControllerTask, self).__init__(**kwargs)
269 the_uuid = uuid.uuid1()
269 the_uuid = uuid.uuid1()
270 self.std_out_file_path = os.path.join('log','ipcontroller-%s.out' % the_uuid)
270 self.std_out_file_path = os.path.join('log','ipcontroller-%s.out' % the_uuid)
271 self.std_err_file_path = os.path.join('log','ipcontroller-%s.err' % the_uuid)
271 self.std_err_file_path = os.path.join('log','ipcontroller-%s.err' % the_uuid)
@@ -292,8 +292,8 b' class IPEngineTask(WinHPCTask):'
292 unit_type = Unicode("Core", config=False)
292 unit_type = Unicode("Core", config=False)
293 work_directory = Unicode('', config=False)
293 work_directory = Unicode('', config=False)
294
294
295 def __init__(self, config=None):
295 def __init__(self, **kwargs):
296 super(IPEngineTask,self).__init__(config=config)
296 super(IPEngineTask,self).__init__(**kwargs)
297 the_uuid = uuid.uuid1()
297 the_uuid = uuid.uuid1()
298 self.std_out_file_path = os.path.join('log','ipengine-%s.out' % the_uuid)
298 self.std_out_file_path = os.path.join('log','ipengine-%s.out' % the_uuid)
299 self.std_err_file_path = os.path.join('log','ipengine-%s.err' % the_uuid)
299 self.std_err_file_path = os.path.join('log','ipengine-%s.err' % the_uuid)
General Comments 0
You need to be logged in to leave comments. Login now