summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/control.py5
-rw-r--r--doc/install.rst2
2 files changed, 4 insertions, 3 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 05a75031..369204d6 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -386,8 +386,9 @@ class coverage(object):
# `save()` at the last minute so that the pid will be correct even
# if the process forks.
data_suffix = "%s.%s.%06d" % (
- self.socket.gethostname(), self.os.getpid(), self.random.randint(0, 99999)
- )
+ self.socket.gethostname(), self.os.getpid(),
+ self.random.randint(0, 99999)
+ )
self._harvest_data()
self.data.write(suffix=data_suffix)
diff --git a/doc/install.rst b/doc/install.rst
index 300bcff7..90c621fa 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -21,7 +21,7 @@ Installing coverage.py is fairly standard:
or, use::
$ easy_install coverage
-
+
or even::
$ pip install coverage