Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
059a0c45
authored
Feb 13, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed trailing whitespace
parent
e7e4b3d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cloud/settings.py
+3
-3
firewall/views.py
+3
-3
No files found.
cloud/settings.py
View file @
059a0c45
...
@@ -155,9 +155,9 @@ LOGGING = {
...
@@ -155,9 +155,9 @@ LOGGING = {
'filters'
:
[
'require_debug_false'
],
'filters'
:
[
'require_debug_false'
],
'class'
:
'django.utils.log.AdminEmailHandler'
'class'
:
'django.utils.log.AdminEmailHandler'
},
},
'syslog'
:{
'syslog'
:{
'level'
:
'WARNING'
,
'level'
:
'WARNING'
,
'class'
:
'logging.handlers.SysLogHandler'
,
'class'
:
'logging.handlers.SysLogHandler'
,
'address'
:
'/dev/log'
,
'address'
:
'/dev/log'
,
},
},
...
...
firewall/views.py
View file @
059a0c45
...
@@ -3,8 +3,8 @@ from django.http import HttpResponse
...
@@ -3,8 +3,8 @@ from django.http import HttpResponse
from
django.shortcuts
import
render_to_response
from
django.shortcuts
import
render_to_response
from
firewall.models
import
*
from
firewall.models
import
*
from
firewall.fw
import
*
from
firewall.fw
import
*
from
django.views.decorators.csrf
import
csrf_exempt
from
django.views.decorators.csrf
import
csrf_exempt
from
django.db
import
IntegrityError
from
django.db
import
IntegrityError
from
tasks
import
*
from
tasks
import
*
from
celery.task.control
import
inspect
from
celery.task.control
import
inspect
from
django.utils.translation
import
ugettext_lazy
as
_
from
django.utils.translation
import
ugettext_lazy
as
_
...
@@ -79,5 +79,5 @@ def firewall_api(request):
...
@@ -79,5 +79,5 @@ def firewall_api(request):
return
HttpResponse
(
_
(
"Something went wrong!
\n
%
s
\n
"
)
%
e
);
return
HttpResponse
(
_
(
"Something went wrong!
\n
%
s
\n
"
)
%
e
);
except
:
except
:
return
HttpResponse
(
_
(
"Something went wrong!
\n
"
));
return
HttpResponse
(
_
(
"Something went wrong!
\n
"
));
return
HttpResponse
(
_
(
"OK"
));
return
HttpResponse
(
_
(
"OK"
));
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