mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a929dfea38
4 files changed
+13
-3
No files matched your search
@@ -140,7 +140,7 @@ class PortManager:
|
||||
"""
|
||||
|
||||
if end_port < start_port:
|
||||
raise Exception("Invalid port range {}-{}".format(start_port, end_port))
|
||||
raise HTTPConflict(text="Invalid port range {}-{}".format(start_port, end_port))
|
||||
|
||||
if socket_type == "UDP":
|
||||
socket_type = socket.SOCK_DGRAM
|
||||
|
||||
@@ -152,7 +152,7 @@ class Project:
|
||||
try:
|
||||
shutil.rmtree(old_path)
|
||||
except OSError as e:
|
||||
raise aiohttp.web.HTTPConflict("Can't remove temporary directory {}: {}".format(old_path, e))
|
||||
raise aiohttp.web.HTTPConflict(text="Can't remove temporary directory {}: {}".format(old_path, e))
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
||||
Reference in new issue
Block a user