VirtualBox packet capture.

This commit is contained in:
grossmj committed 2015-02-08 14:44:56 -07:00
1 parent d499402491
commit 2a3b37a3bd
5 files changed
+15 -10

No files matched your search

+6 -1
View File
@@ -156,7 +156,12 @@ class BaseManager:
project = ProjectManager.instance().get_project(project_id)
# TODO: support for old projects VM with normal IDs.
try:
if vm_id:
legacy_id = int(vm_id)
# TODO: support for old projects VM with normal IDs.
except ValueError:
pass
if not vm_id:
vm_id = str(uuid4())
+2 -2
View File
@@ -104,7 +104,7 @@ class Project:
def location(self, location):
if location != self._location and self._config().get("local", False) is False:
raise aiohttp.web.HTTPForbidden(text="You are not allowed to modifiy the project directory location")
raise aiohttp.web.HTTPForbidden(text="You are not allowed to modify the project directory location")
self._location = location
@@ -118,7 +118,7 @@ class Project:
if hasattr(self, "_path"):
if path != self._path and self._config().get("local", False) is False:
raise aiohttp.web.HTTPForbidden(text="You are not allowed to modifiy the project directory location")
raise aiohttp.web.HTTPForbidden(text="You are not allowed to modify the project directory location")
self._path = path
self._update_temporary_file()