Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ea9874e1
authored
Mar 13, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: add missing return statement to find_unused_vnc_port
bug introduced in
f70812a3
parent
a152b160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
circle/vm/models/instance.py
+2
-0
No files found.
circle/vm/models/instance.py
View file @
ea9874e1
...
@@ -61,6 +61,8 @@ def find_unused_vnc_port():
...
@@ -61,6 +61,8 @@ def find_unused_vnc_port():
if
port
is
None
:
if
port
is
None
:
raise
Exception
(
"No unused port could be found for VNC."
)
raise
Exception
(
"No unused port could be found for VNC."
)
else
:
return
port
class
InstanceActiveManager
(
Manager
):
class
InstanceActiveManager
(
Manager
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment