Fixed Issue #533 (#606)

* Remove Platform._path
This commit is contained in:
Arun John Kuruvilla 2017-11-30 10:16:08 -05:00 committed by Yan Ivnitskiy
parent 9c777e6d2b
commit 77b0542b83

View File

@ -28,18 +28,15 @@ class Platform(Eventful):
'''
def __init__(self, path, **kwargs):
super(Platform, self).__init__(**kwargs)
self._path = path #Not clear why all platforms must have a "path"
def invoke_model(self, model, prefix_args=None):
self._function_abi.invoke(model, prefix_args)
def __setstate__(self, state):
super(Platform, self).__setstate__(state)
self._path = state['path']
def __getstate__(self):
state = super(Platform, self).__getstate__()
state['path'] = self._path
return state
def generate_workspace_files(self):