From c99c96a9f77c91620ea509efa745891c80059ebd Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Sun, 27 Mar 2016 23:51:41 +0200 Subject: pep8 reformatted --- pyasn1_modules/pem.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pyasn1_modules/pem.py') diff --git a/pyasn1_modules/pem.py b/pyasn1_modules/pem.py index 638e74e..e3f8cb6 100644 --- a/pyasn1_modules/pem.py +++ b/pyasn1_modules/pem.py @@ -4,7 +4,8 @@ # Copyright (c) 2005-2016, Ilya Etingof # License: http://pyasn1.sf.net/license.html # -import base64, sys +import base64 +import sys stSpam, stHam, stDump = 0, 1, 2 @@ -13,9 +14,9 @@ stSpam, stHam, stDump = 0, 1, 2 # Return is (marker-index, substrate) def readPemBlocksFromFile(fileObj, *markers): startMarkers = dict(map(lambda x: (x[1], x[0]), - enumerate(map(lambda x: x[0], markers)))) + enumerate(map(lambda y: y[0], markers)))) stopMarkers = dict(map(lambda x: (x[1], x[0]), - enumerate(map(lambda x: x[1], markers)))) + enumerate(map(lambda y: y[1], markers)))) idx = -1 substrate = '' certLines = [] -- cgit v1.2.3