From 94b3463f7e6b43da52242df67eb6fe7f6057a1fe Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 1 Oct 2003 04:03:54 +0000 Subject: [PATCH] We're long past worrying about Python versions older than 1.5.2; remove old compatibility definition of os.path.abspath(). --- Doc/tools/mkhowto | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto index e20480248af..8f506c5ba55 100755 --- a/Doc/tools/mkhowto +++ b/Doc/tools/mkhowto @@ -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)