Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
7b318db9
Commit
7b318db9
authored
Feb 06, 2012
by
Antony Chazapis
Browse files
Remove reference to TEST variable.
parent
e6832b71
Changes
1
Hide whitespace changes
Inline
Side-by-side
astakos/im/api.py
View file @
7b318db9
...
...
@@ -41,7 +41,7 @@ from astakos.im.faults import BadRequest, Unauthorized, InternalServerError
from
astakos.im.models
import
AstakosUser
def
render_fault
(
request
,
fault
):
if
isinstance
(
fault
,
InternalServerError
)
and
(
settings
.
DEBUG
or
settings
.
TEST
):
if
isinstance
(
fault
,
InternalServerError
)
and
(
settings
.
DEBUG
):
fault
.
details
=
format_exc
(
fault
)
request
.
serialization
=
'text'
...
...
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