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
957dabba
Commit
957dabba
authored
Mar 15, 2013
by
Kostas Papadimitriou
Browse files
Do not replace stdout when running tests
in order to have usable pdb repl
parent
71770ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-webproject/synnefo/webproject/manage.py
View file @
957dabba
...
...
@@ -252,7 +252,7 @@ class SynnefoManagementUtility(ManagementUtility):
# Encode stdout. This check is required because of the way python
# checks if something is tty: https://bugzilla.redhat.com/show_bug.cgi?id=841152
if
not
'shell'
in
subcommand
:
if
not
subcommand
in
[
'test'
]
and
not
'shell'
in
subcommand
:
sys
.
stdout
=
EncodedStdOut
(
sys
.
stdout
)
if
subcommand
==
'help'
:
...
...
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