Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e7a6a8e9
authored
Oct 08, 2013
by
Bach Dániel
Committed by
Bach Dániel
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall fix missing return in _get_random_port()
parent
39be77a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
circle/firewall/models.py
+1
-0
No files found.
circle/firewall/models.py
View file @
e7a6a8e9
...
@@ -487,6 +487,7 @@ class Host(models.Model):
...
@@ -487,6 +487,7 @@ class Host(models.Model):
else
:
else
:
raise
ValidationError
(
raise
ValidationError
(
_
(
"All
%
s ports are already in use."
)
%
proto
)
_
(
"All
%
s ports are already in use."
)
%
proto
)
return
public
def
add_port
(
self
,
proto
,
public
=
None
,
private
=
None
):
def
add_port
(
self
,
proto
,
public
=
None
,
private
=
None
):
"""
"""
...
...
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