summaryrefslogtreecommitdiff
path: root/coverage/backward.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-02 09:38:20 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-02 09:38:20 -0400
commitfc610d1932b0ab492238e41f447213ca1235e027 (patch)
treeb8fe145ffdea3b53145d1e08aeb18c80d8597134 /coverage/backward.py
parent1c8e6daef332f70095796f7788dc0f0e9ce1484b (diff)
downloadpython-coveragepy-git-fc610d1932b0ab492238e41f447213ca1235e027.tar.gz
Log some indication of the script being executed
Diffstat (limited to 'coverage/backward.py')
-rw-r--r--coverage/backward.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/coverage/backward.py b/coverage/backward.py
index 34ab2f1a..58759545 100644
--- a/coverage/backward.py
+++ b/coverage/backward.py
@@ -64,6 +64,11 @@ except ImportError:
# in Python versions earlier than 3.3.
from pipes import quote as shlex_quote
+try:
+ import reprlib
+except ImportError:
+ import repr as reprlib
+
# A function to iterate listlessly over a dict's items, and one to get the
# items as a list.
try: