Rev 210: More specifically test for None, as per jml's review. in http://bzr.daniel-watkins.co.uk/pqm/xmlrpc
Daniel Watkins
daniel at daniel-watkins.co.uk
Thu Aug 7 03:06:51 BST 2008
At http://bzr.daniel-watkins.co.uk/pqm/xmlrpc
------------------------------------------------------------
revno: 210
revision-id: daniel at daniel-watkins.co.uk-20080807020506-si9cmfzk8fcrtbcw
parent: daniel at daniel-watkins.co.uk-20080807020420-6seg494lf57h9yuo
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
branch nick: xmlrpc
timestamp: Thu 2008-08-07 03:05:06 +0100
message:
More specifically test for None, as per jml's review.
-------------- next part --------------
=== modified file 'pqm/script.py'
--- a/pqm/script.py 2008-08-07 02:04:20 +0000
+++ b/pqm/script.py 2008-08-07 02:05:06 +0000
@@ -93,7 +93,7 @@
the message is multipart and the second part of the message is a PGP
signature.
"""
- if not file:
+ if file is None:
file = sys.stdin
msg = email.message_from_file(file)
return get_email_structure(logger, msg)
More information about the bazaar-commits
mailing list