From 85fd14f47f0911e2242b8c52e8545eab08e09d03 Mon Sep 17 00:00:00 2001 From: Eric Hansen Date: Wed, 22 May 2013 09:16:49 -0400 Subject: .stripped() would result in error --- sleekxmpp/plugins/xep_0027/gpg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp') 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: -- cgit v1.2.3