From a4e8460cfa86fe7e9c82b01ade8b352bb93b695d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 16 Jul 2015 07:30:45 -0400 Subject: PEP8 fixes, but too many to really fix --- coverage/data.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'coverage/data.py') diff --git a/coverage/data.py b/coverage/data.py index db575e17..7b9dd7ea 100644 --- a/coverage/data.py +++ b/coverage/data.py @@ -113,13 +113,13 @@ class CoverageData(object): # Unpack the 'lines' item. self._lines = dict([ (f, dict.fromkeys(linenos, None)) - for f, linenos in iitems(data.get('lines', {})) - ]) + for f, linenos in iitems(data.get('lines', {})) + ]) # Unpack the 'arcs' item. self._arcs = dict([ (f, dict.fromkeys(arcpairs, None)) - for f, arcpairs in iitems(data.get('arcs', {})) - ]) + for f, arcpairs in iitems(data.get('arcs', {})) + ]) self._plugins = data.get('plugins', {}) except Exception: # TODO: this used to handle file-doesnt-exist problems. Do we still need it? @@ -279,7 +279,7 @@ class CoverageDataFiles(object): suffix = "%s%s.%s.%06d" % ( socket.gethostname(), extra, os.getpid(), random.randint(0, 999999) - ) + ) if suffix: filename += "." + suffix -- cgit v1.2.1