From: <cg...@us...> - 2007-02-01 06:09:09
|
Revision: 3071 http://svn.sourceforge.net/jython/?rev=3071&view=rev Author: cgroves Date: 2007-01-31 22:09:02 -0800 (Wed, 31 Jan 2007) Log Message: ----------- use File.getCanonicalPath instead of File.getAbsolutePath in abspath to fix bug #1423047 Modified Paths: -------------- trunk/jython/Lib/javapath.py Modified: trunk/jython/Lib/javapath.py =================================================================== --- trunk/jython/Lib/javapath.py 2007-01-31 06:22:10 UTC (rev 3070) +++ trunk/jython/Lib/javapath.py 2007-02-01 06:09:02 UTC (rev 3071) @@ -237,7 +237,7 @@ # Return an absolute path. def abspath(path): path = _tostr(path, "abspath") - return File(path).getAbsolutePath() + return File(path).getCanonicalPath() def realpath(path): path = _tostr(path, "realpath") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |