summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-11 12:36:17 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-11 12:36:17 -0500
commita25936dec17094948602b6809c5f7858d3542c53 (patch)
treed9210f2ab93041ccc7c407de8ec6f28c2af613a9 /coverage/files.py
parentde89438a0346e3dca4f7e8afe24efa38810deebe (diff)
downloadpython-coveragepy-git-a25936dec17094948602b6809c5f7858d3542c53.tar.gz
WTF?
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/files.py b/coverage/files.py
index 65b1dc01..8d2a2a7b 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -109,14 +109,14 @@ if sys.platform == 'win32':
actual = actual.encode('utf8')
return actual
else:
- def actual_filename(filename):
- """The actual filename for non-Windows platforms."""
+ def actual_path(filename):
+ """The actual path for non-Windows platforms."""
return filename
def abs_file(filename):
"""Return the absolute normalized form of `filename`."""
path = os.path.abspath(os.path.realpath(filename))
- path = actual_filename(path)
+ path = actual_path(path)
return path