Merge lp:~nigelbabu/loco-team-portal/fix-stdout into lp:loco-team-portal

Proposed by Nigel Babu
Status: Merged
Approved by: Michael Hall
Approved revision: 500
Merged at revision: 503
Proposed branch: lp:~nigelbabu/loco-team-portal/fix-stdout
Merge into: lp:loco-team-portal
Diff against target: 11 lines (+1/-0)
1 file modified
loco_directory/django.wsgi (+1/-0)
To merge this branch: bzr merge lp:~nigelbabu/loco-team-portal/fix-stdout
Reviewer Review Type Date Requested Status
Michael Hall (community) Approve
Review via email: mp+82036@code.launchpad.net

Commit message

Temporarily push the stdout to stderr when using wsgi.

Description of the change

Temporarily push the stdout to stderr when using wsgi.

To post a comment you must log in.
Revision history for this message
Michael Hall (mhall119) wrote :

Okay for a temporary fix

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/django.wsgi'
2--- loco_directory/django.wsgi 2011-10-07 13:29:01 +0000
3+++ loco_directory/django.wsgi 2011-11-11 23:20:31 +0000
4@@ -3,6 +3,7 @@
5
6 import django.core.handlers.wsgi
7
8+sys.stdout = sys.stderr
9 # add path to sttings to system path if not already there
10 # check if path is already there to avoid path duplication when
11 # modwsgi is configured for code reloading

Subscribers

People subscribed via source and target branches