Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
46cdd740
authored
Feb 27, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: make Firewall class' name start with upper-case
parent
dd0841b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
firewall/fw.py
+1
-1
firewall/tasks.py
+2
-2
No files found.
firewall/fw.py
View file @
46cdd740
...
...
@@ -10,7 +10,7 @@ from datetime import datetime, timedelta
from
django.db.models
import
Q
class
f
irewall
:
class
F
irewall
:
IPV6
=
False
RULES
=
None
RULES_NAT
=
[]
...
...
firewall/tasks.py
View file @
46cdd740
...
...
@@ -46,8 +46,8 @@ class ReloadTask(Task):
if
not
sleep
:
sleep
=
True
time
.
sleep
(
10
)
ipv4
=
f
irewall
()
.
get
()
ipv6
=
f
irewall
(
True
)
.
get
()
ipv4
=
F
irewall
()
.
get
()
ipv6
=
F
irewall
(
True
)
.
get
()
reload_firewall_task
.
delay
(
ipv4
,
ipv6
)
if
type
==
"Blacklist"
:
...
...
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