Merge lp:~james-w/django-configglue/fix-argv into lp:django-configglue
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Ricardo Kirkner |
Approved revision: | 70 |
Merged at revision: | 68 |
Proposed branch: | lp:~james-w/django-configglue/fix-argv |
Merge into: | lp:django-configglue |
Diff against target: |
109 lines (+62/-2) 2 files modified
django_configglue/management/__init__.py (+51/-1) django_configglue/tests/test_configglue.py (+11/-1) |
To merge this branch: | bzr merge lp:~james-w/django-configglue/fix-argv |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Kirkner | Approve | ||
Review via email: mp+88446@code.launchpad.net |
Commit message
Stop 'value' being added to argv when '--unknown-
Description of the change
Hi,
As discussed this fixes a problem with Django's LaxOptionParser.
I added the test as you suggested and it fails before as expected, and succeeds
after.
I ended up writing my own init script that avoided the issues I was having, so
this isn't blocking our deployment, but it would still be good to have a solution.
Thanks,
James
To post a comment you must log in.
A few remarks:
1. l.23-24: please leave only one blank line here
2. l.71: there is now explanation (nor test) of why this monkeypatch is needed
3. l.72-74: please remove the trailing blank lines
When done, please also add a commit message for tarmac to be able to merge this branch.