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
9c62522b
authored
Apr 29, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move coding stanzas to the beginning of src files
parent
8a6cd144
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
circle/firewall/admin.py
+2
-2
circle/firewall/models.py
+2
-2
circle/storage/models.py
+2
-1
No files found.
circle/firewall/admin.py
View file @
9c62522b
# -*- coding: utf-8 -*-
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
#
#
# This file is part of CIRCLE Cloud.
# This file is part of CIRCLE Cloud.
...
@@ -15,8 +17,6 @@
...
@@ -15,8 +17,6 @@
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
from
django.contrib
import
admin
from
django.contrib
import
admin
from
firewall.models
import
(
Rule
,
Host
,
Vlan
,
Group
,
VlanGroup
,
Firewall
,
from
firewall.models
import
(
Rule
,
Host
,
Vlan
,
Group
,
VlanGroup
,
Firewall
,
Domain
,
Record
,
BlacklistItem
,
Domain
,
Record
,
BlacklistItem
,
...
...
circle/firewall/models.py
View file @
9c62522b
# -*- coding: utf-8 -*-
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
#
#
# This file is part of CIRCLE Cloud.
# This file is part of CIRCLE Cloud.
...
@@ -15,8 +17,6 @@
...
@@ -15,8 +17,6 @@
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
from
itertools
import
islice
,
ifilter
from
itertools
import
islice
,
ifilter
import
logging
import
logging
from
netaddr
import
IPSet
,
EUI
,
IPNetwork
from
netaddr
import
IPSet
,
EUI
,
IPNetwork
...
...
circle/storage/models.py
View file @
9c62522b
# -*- coding: utf-8 -*-
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
# Copyright 2014 Budapest University of Technology and Economics (BME IK)
#
#
# This file is part of CIRCLE Cloud.
# This file is part of CIRCLE Cloud.
...
@@ -15,7 +17,6 @@
...
@@ -15,7 +17,6 @@
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
__future__
import
unicode_literals
from
contextlib
import
contextmanager
from
contextlib
import
contextmanager
...
...
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