summaryrefslogtreecommitdiff
path: root/coverage/data.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-16 07:30:45 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-16 07:30:45 -0400
commita3aa66e1caae9e86ee324651632559dc6b74be96 (patch)
treedaee4989b9dbef0e88bacd2a2aab3d41fa225e78 /coverage/data.py
parent7358802affc00c6819ccb864ecf233fbf849a806 (diff)
downloadpython-coveragepy-a3aa66e1caae9e86ee324651632559dc6b74be96.tar.gz
PEP8 fixes, but too many to really fix
Diffstat (limited to 'coverage/data.py')
-rw-r--r--coverage/data.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/coverage/data.py b/coverage/data.py
index db575e1..7b9dd7e 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