Commit 94b3463f authored by Fred Drake's avatar Fred Drake

We're long past worrying about Python versions older than 1.5.2;

remove old compatibility definition of os.path.abspath().
parent 1dc3bb47
......@@ -46,17 +46,6 @@ import shutil
import sys
if not hasattr(os.path, "abspath"):
# Python 1.5.1 or earlier
def abspath(path):
"""Return an absolute path."""
if not os.path.isabs(path):
path = os.path.join(os.getcwd(), path)
return os.path.normpath(path)
os.path.abspath = abspath
MYDIR = os.path.abspath(sys.path[0])
TOPDIR = os.path.dirname(MYDIR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment