Merge remote-tracking branch 'origin/master' into 2.1

This commit is contained in:
Julien Duponchelle committed 2017-06-19 10:44:52 +02:00
commit bb8097a052
16 files changed
+95 -13

No files matched your search

+1 -1
View File
@@ -738,7 +738,7 @@ class Project:
f.write(data)
with open(os.path.join(tmpdir, "project.gns3p"), "rb") as f:
project = yield from import_project(self._controller, str(uuid.uuid4()), f, location=location, name=name, keep_compute_id=True)
except OSError as e:
except (OSError, UnicodeEncodeError) as e:
raise aiohttp.web.HTTPConflict(text="Can not duplicate project: {}".format(str(e)))
if previous_status == "closed":