diff options
author | Eric Hansen <ehansen@securityfor.us> | 2013-05-22 09:16:49 -0400 |
---|---|---|
committer | Eric Hansen <ehansen@securityfor.us> | 2013-05-22 09:16:49 -0400 |
commit | 85fd14f47f0911e2242b8c52e8545eab08e09d03 (patch) | |
tree | 392ce9ef1874f81ccc1cd22cbf83239a2fc07502 /sleekxmpp/plugins | |
parent | d0bba87cdd6eba3d21c72c36ad15340b8db64c85 (diff) | |
download | slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.gz slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.bz2 slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.tar.xz slixmpp-85fd14f47f0911e2242b8c52e8545eab08e09d03.zip |
.stripped() would result in error
Diffstat (limited to 'sleekxmpp/plugins')
-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 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: |