1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Bump version to 1.0-alpha2.

This commit is contained in:
grossmj 2014-04-16 12:43:59 -06:00
parent 732afb4ebd
commit ada36e5382
3 changed files with 11 additions and 10 deletions

View File

@ -72,6 +72,7 @@ class FileUploadHandler(tornado.web.RequestHandler):
Invoked on POST request. Invoked on POST request.
""" """
if "file" in self.request.files:
fileinfo = self.request.files["file"][0] fileinfo = self.request.files["file"][0]
destination_path = os.path.join(self._upload_dir, fileinfo['filename']) destination_path = os.path.join(self._upload_dir, fileinfo['filename'])
with open(destination_path, 'wb') as f: with open(destination_path, 'wb') as f:

View File

@ -276,8 +276,8 @@ class Hypervisor(DynamipsHypervisor):
command = [self._path] command = [self._path]
command.extend(["-N1"]) # use instance IDs for filenames command.extend(["-N1"]) # use instance IDs for filenames
if self._host != '0.0.0.0': if self._host != "0.0.0.0" and self._host != "::":
command.extend(['-H', self._host + ':' + str(self._port)]) command.extend(["-H", self._host + ":" + str(self._port)])
else: else:
command.extend(['-H', str(self._port)]) command.extend(["-H", str(self._port)])
return command return command

View File

@ -23,5 +23,5 @@
# or negative for a release candidate or beta (after the base version # or negative for a release candidate or beta (after the base version
# number has been incremented) # number has been incremented)
__version__ = "1.0a2.dev3" __version__ = "1.0-alpha2"
__version_info__ = (1, 0, 0, -99) __version_info__ = (1, 0, 0, -99)