Merge lp:~gnuoy/charms/precise/gunicorn/fixed-bug-in-gunicorn-wsgi-mode into lp:~charmers/charms/precise/gunicorn/trunk

Proposed by Liam Young
Status: Merged
Merged at revision: 23
Proposed branch: lp:~gnuoy/charms/precise/gunicorn/fixed-bug-in-gunicorn-wsgi-mode
Merge into: lp:~charmers/charms/precise/gunicorn/trunk
Diff against target: 11 lines (+1/-1)
1 file modified
hooks/wsgi-file-relation-joined (+1/-1)
To merge this branch: bzr merge lp:~gnuoy/charms/precise/gunicorn/fixed-bug-in-gunicorn-wsgi-mode
Reviewer Review Type Date Requested Status
Robert Ayres (community) Approve
Review via email: mp+127291@code.launchpad.net

Description of the change

Fixed bug which was testing the existence of the wrong wsgi_wsgi_file variable.

To post a comment you must log in.
Revision history for this message
Robert Ayres (robert-ayres) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/wsgi-file-relation-joined'
2--- hooks/wsgi-file-relation-joined 2012-09-10 05:28:47 +0000
3+++ hooks/wsgi-file-relation-joined 2012-10-01 14:29:27 +0000
4@@ -47,7 +47,7 @@
5 ${VAR[wsgi_wsgi_file]}="wsgi"
6 fi
7
8-if [[ -n $wsgi_wsgi_file ]] ; then
9+if [[ -n ${VAR[wsgi_wsgi_file]} ]] ; then
10 wsgi_wsgi_file="'${VAR[wsgi_wsgi_file]}',"
11 fi
12

Subscribers

People subscribed via source and target branches

to all changes: