mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Replace aiohttp.web.HTTPConflict()
This commit is contained in:
parent
7e902726bf
commit
ec300d19d4
@ -203,7 +203,7 @@ def _create_symbolic_links(zip_file, path):
|
|||||||
os.remove(symlink_path)
|
os.remove(symlink_path)
|
||||||
os.symlink(symlink_target, symlink_path)
|
os.symlink(symlink_target, symlink_path)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
raise aiohttp.web.HTTPConflict(text=f"Cannot create symbolic link: {e}")
|
raise ControllerError(f"Cannot create symbolic link: {e}")
|
||||||
|
|
||||||
def _move_node_file(path, old_id, new_id):
|
def _move_node_file(path, old_id, new_id):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user