1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Do not return error if we can't remove the old project directory

This commit is contained in:
Julien Duponchelle 2015-05-26 13:26:07 +02:00
parent d31420b3e1
commit 528bb7a7c6

View File

@ -152,7 +152,7 @@ class Project:
try: try:
shutil.rmtree(old_path) shutil.rmtree(old_path)
except OSError as e: except OSError as e:
raise aiohttp.web.HTTPConflict(text="Can't remove temporary directory {}: {}".format(old_path, e)) log.warn("Can't remove temporary directory {}: {}".format(old_path, e))
@property @property
def name(self): def name(self):