summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0027/gpg.py
diff options
context:
space:
mode:
authorEric Hansen <ehansen@securityfor.us>2013-05-22 09:16:49 -0400
committerEric Hansen <ehansen@securityfor.us>2013-05-22 09:16:49 -0400
commit85fd14f47f0911e2242b8c52e8545eab08e09d03 (patch)
tree392ce9ef1874f81ccc1cd22cbf83239a2fc07502 /sleekxmpp/plugins/xep_0027/gpg.py
parentd0bba87cdd6eba3d21c72c36ad15340b8db64c85 (diff)
downloadslixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.gz
slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.bz2
slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.xz
slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.zip
.stripped() would result in error
Diffstat (limited to 'sleekxmpp/plugins/xep_0027/gpg.py')
-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: