Fixes topology loading issue.

pull/11/head
grossmj 10 years ago
parent b614aa8290
commit 4ab9b4acc7

@ -200,12 +200,13 @@ class IOU(IModule):
self._iouyap = request["iouyap"] self._iouyap = request["iouyap"]
log.info("iouyap path set to {}".format(self._iouyap)) log.info("iouyap path set to {}".format(self._iouyap))
if "working_dir" in request and self._working_dir != request["working_dir"]: if "working_dir" in request:
self._working_dir = request["working_dir"] if self._working_dir != request["working_dir"]:
log.info("this server is local with working directory path to {}".format(self._working_dir)) self._working_dir = request["working_dir"]
for iou_id in self._iou_instances: log.info("this server is local with working directory path to {}".format(self._working_dir))
iou_instance = self._iou_instances[iou_id] for iou_id in self._iou_instances:
iou_instance.working_dir = self._working_dir iou_instance = self._iou_instances[iou_id]
iou_instance.working_dir = self._working_dir
else: else:
self._remote_server = True self._remote_server = True
self._working_dir = os.path.join(self._projects_dir, request["project_name"]) self._working_dir = os.path.join(self._projects_dir, request["project_name"])

@ -23,5 +23,5 @@
# or negative for a release candidate or beta (after the base version # or negative for a release candidate or beta (after the base version
# number has been incremented) # number has been incremented)
__version__ = "1.0a2.dev1" __version__ = "1.0a2.dev2"
__version_info__ = (1, 0, 0, -99) __version_info__ = (1, 0, 0, -99)

Loading…
Cancel
Save