Code review comment for lp:~sinzui/launchpad/merge-karma-1

Revision history for this message
Aaron Bentley (abentley) wrote :

IMO, "not None" is more precise and explicit, not less complete. If fetchone returns an empty list, it is violating its contract (http://www.python.org/dev/peps/pep-0249/), and that should be treated as an error, not as though there were no results.

« Back to merge proposal