From e804880678b601428184857e5ccacb33d4dbbd30 2013-10-04 23:55:03 From: MinRK Date: 2013-10-04 23:55:03 Subject: [PATCH] passthrough kwargs in WinHPCTask `__init__` methods --- diff --git a/IPython/parallel/apps/winhpcjob.py b/IPython/parallel/apps/winhpcjob.py index 92f8603..bdd9727 100644 --- a/IPython/parallel/apps/winhpcjob.py +++ b/IPython/parallel/apps/winhpcjob.py @@ -264,8 +264,8 @@ class IPControllerTask(WinHPCTask): unit_type = Unicode("Core", config=False) work_directory = Unicode('', config=False) - def __init__(self, config=None): - super(IPControllerTask, self).__init__(config=config) + def __init__(self, **kwargs): + super(IPControllerTask, self).__init__(**kwargs) the_uuid = uuid.uuid1() self.std_out_file_path = os.path.join('log','ipcontroller-%s.out' % the_uuid) self.std_err_file_path = os.path.join('log','ipcontroller-%s.err' % the_uuid) @@ -292,8 +292,8 @@ class IPEngineTask(WinHPCTask): unit_type = Unicode("Core", config=False) work_directory = Unicode('', config=False) - def __init__(self, config=None): - super(IPEngineTask,self).__init__(config=config) + def __init__(self, **kwargs): + super(IPEngineTask,self).__init__(**kwargs) the_uuid = uuid.uuid1() self.std_out_file_path = os.path.join('log','ipengine-%s.out' % the_uuid) self.std_err_file_path = os.path.join('log','ipengine-%s.err' % the_uuid)