Merge lp://staging/~ricardokirkner/django-pgtools/fix-role-username-unescaped into lp://staging/django-pgtools

Proposed by Ricardo Kirkner
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: 14
Merged at revision: 11
Proposed branch: lp://staging/~ricardokirkner/django-pgtools/fix-role-username-unescaped
Merge into: lp://staging/django-pgtools
Diff against target: 323 lines (+90/-55)
6 files modified
pgtools/dbrole.py (+20/-12)
pgtools/dbuser.py (+11/-7)
pgtools/management/commands/grantuser.py (+9/-8)
pgtools/tests.py (+48/-26)
requirements.txt (+1/-1)
tox.ini (+1/-1)
To merge this branch: bzr merge lp://staging/~ricardokirkner/django-pgtools/fix-role-username-unescaped
Reviewer Review Type Date Requested Status
William Grant (community) code Approve
Daniel Manrique (community) Approve
Review via email: mp+321928@code.staging.launchpad.net

Commit message

escape role and username properly

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Weird! LGTM, I tried to ensure the quote shuffling looks OK but ooh, all those quotes/double quotes...

review: Approve
13. By Ricardo Kirkner

better quoting of identifiers

Revision history for this message
William Grant (wgrant) :
review: Approve (code)
14. By Ricardo Kirkner

make sure to respect psycopg2>=2.7 requirement in tox.ini

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches