Some changes with config files on Windows.

This commit is contained in:
Jeremy committed 2015-02-27 18:08:34 -07:00
1 parent 0e8b8fa66f
commit 84870bf736
3 files changed
+10 -4

No files matched your search

+3 -2
View File
@@ -179,8 +179,9 @@ class Dynamips(BaseManager):
:param project: Project instance
"""
for vm in project.vms:
yield from vm.hypervisor.set_working_dir(project.module_working_directory(self.module_name.lower()))
for vm in self._vms:
if vm.project.id == project.id:
yield from vm.hypervisor.set_working_dir(project.module_working_directory(self.module_name.lower()))
for device in self._devices.values():
if device.project.id == project.id: