summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0027
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-05-22 10:19:52 -0700
committerLance Stout <lancestout@gmail.com>2013-05-22 10:19:52 -0700
commitd9f595283a19737131cd3aef0c5483bbbfccd66c (patch)
tree392ce9ef1874f81ccc1cd22cbf83239a2fc07502 /sleekxmpp/plugins/xep_0027
parentd0bba87cdd6eba3d21c72c36ad15340b8db64c85 (diff)
parent85fd14f47f0911e2242b8c52e8545eab08e09d03 (diff)
downloadslixmpp-d9f595283a19737131cd3aef0c5483bbbfccd66c.tar.gz
slixmpp-d9f595283a19737131cd3aef0c5483bbbfccd66c.tar.bz2
slixmpp-d9f595283a19737131cd3aef0c5483bbbfccd66c.tar.xz
slixmpp-d9f595283a19737131cd3aef0c5483bbbfccd66c.zip
Merge pull request #234 from SecurityForUs/str_no_stripped
.stripped() would result in error
Diffstat (limited to 'sleekxmpp/plugins/xep_0027')
-rw-r--r--sleekxmpp/plugins/xep_0027/gpg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0027/gpg.py b/sleekxmpp/plugins/xep_0027/gpg.py
index 2aa6e5a0..52c1c461 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.stripped() == '':
+ if begin_headers and line.strip() == '':
begin_data = True
continue
if 'END PGP %s' % kind in line: