Update of /cvsroot/python/python/dist/src/Lib/xml/sax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24823 Modified Files: saxutils.py Log Message: when only using half of the return value of os.path.split(), use os.path.dirname() or os.path.basename() instead Index: saxutils.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/xml/sax/saxutils.py,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- saxutils.py 20 Oct 2004 08:21:19 -0000 1.24 +++ saxutils.py 20 Oct 2004 11:08:35 -0000 1.25 @@ -283,7 +283,7 @@ if source.getByteStream() is None: sysid = source.getSystemId() - basehead = os.path.split(os.path.normpath(base))[0] + basehead = os.path.dirname(os.path.normpath(base)) sysidfilename = os.path.join(basehead, sysid) if os.path.isfile(sysidfilename): source.setSystemId(sysidfilename)