Support IOURC update

This commit is contained in:
Julien Duponchelle committed 2015-03-17 19:00:14 +01:00
1 parent 8ca9c2121a
commit 4a9f578784
4 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -393,7 +393,7 @@ class IOUVM(BaseVM):
# We can't test this because it's mean distributing a valid licence key
# in tests or generating one
if not sys._called_from_test:
if not hasattr(sys, "_called_from_test"):
try:
hostid = (yield from gns3server.utils.asyncio.subprocess_check_output("hostid")).strip()
except FileNotFoundError as e: