diff options
author | Lance Stout <lancestout@gmail.com> | 2012-07-22 14:02:26 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-07-22 14:02:26 -0700 |
commit | 2e580304f9d92d6d935a81cf81961323cf7fbf52 (patch) | |
tree | 3e1b4faf9c0c4d183dd83e4b7d0a9591a548e734 /sleekxmpp/plugins/xep_0027 | |
parent | 5492e9028df8d1d2a064693b4dd06bd92cc9f60a (diff) | |
parent | fb221a8dc046b34cf28b853ba58d57711b624027 (diff) | |
download | slixmpp-2e580304f9d92d6d935a81cf81961323cf7fbf52.tar.gz slixmpp-2e580304f9d92d6d935a81cf81961323cf7fbf52.tar.bz2 slixmpp-2e580304f9d92d6d935a81cf81961323cf7fbf52.tar.xz slixmpp-2e580304f9d92d6d935a81cf81961323cf7fbf52.zip |
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0027')
-rw-r--r-- | sleekxmpp/plugins/xep_0027/gpg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0027/gpg.py b/sleekxmpp/plugins/xep_0027/gpg.py index 9c6ca078..3ca9c36d 100644 --- a/sleekxmpp/plugins/xep_0027/gpg.py +++ b/sleekxmpp/plugins/xep_0027/gpg.py @@ -24,7 +24,7 @@ def _extract_data(data, kind): if not begin_headers and 'BEGIN PGP %s' % kind in line: begin_headers = True continue - if begin_headers and line == '': + if begin_headers and line.stripped() == '': begin_data = True continue if 'END PGP %s' % kind in line: |