summaryrefslogtreecommitdiff
path: root/coverage/codeunit.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-23 22:03:26 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-23 22:03:26 -0500
commit548a3f8bfbcf9176930392c024073bf5661df508 (patch)
treef45408e7acedeb3893228e4b9ed80147ed3e569f /coverage/codeunit.py
parent9b603e707704102275d5521cc6c110f357e7ea96 (diff)
downloadpython-coveragepy-548a3f8bfbcf9176930392c024073bf5661df508.tar.gz
Change one bit.
Diffstat (limited to 'coverage/codeunit.py')
-rw-r--r--coverage/codeunit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/codeunit.py b/coverage/codeunit.py
index 2b581d0..2bd97fe 100644
--- a/coverage/codeunit.py
+++ b/coverage/codeunit.py
@@ -54,7 +54,7 @@ class CodeUnit(object):
# .pyc files should always refer to a .py instead.
if f.endswith('.pyc') or f.endswith('.pyo'):
f = f[:-1]
- elif f.endswith('$py.class'): # jython
+ elif f.endswith('$py.class'): # Jython
f = f[:-9] + ".py"
self.filename = self.file_locator.canonical_filename(f)