mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Rename all EnvironmentError to OSError.
Change version number to 1.0a2-dev1. Check only on Python >= 3.3.
This commit is contained in:
1 parent
20597e29df
commit
f4dd096a8b
11 files changed
+40
-30
No files matched your search
@@ -78,7 +78,7 @@ class Server(object):
|
||||
try:
|
||||
os.makedirs(self._projects_dir)
|
||||
log.info("projects directory '{}' created".format(self._projects_dir))
|
||||
except EnvironmentError as e:
|
||||
except OSError as e:
|
||||
log.error("could not create the projects directory {}: {}".format(self._projects_dir, e))
|
||||
|
||||
def load_modules(self):
|
||||
|
||||
Reference in new issue
Block a user