.stripped() would result in error
This commit is contained in:
parent
d0bba87cdd
commit
85fd14f47f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def _extract_data(data, kind):
|
||||||
if not begin_headers and 'BEGIN PGP %s' % kind in line:
|
if not begin_headers and 'BEGIN PGP %s' % kind in line:
|
||||||
begin_headers = True
|
begin_headers = True
|
||||||
continue
|
continue
|
||||||
if begin_headers and line.stripped() == '':
|
if begin_headers and line.strip() == '':
|
||||||
begin_data = True
|
begin_data = True
|
||||||
continue
|
continue
|
||||||
if 'END PGP %s' % kind in line:
|
if 'END PGP %s' % kind in line:
|
||||||
|
|
Loading…
Reference in a new issue