From: <zy...@us...> - 2009-01-20 18:28:06
|
Revision: 5950 http://jython.svn.sourceforge.net/jython/?rev=5950&view=rev Author: zyasoft Date: 2009-01-20 18:28:03 +0000 (Tue, 20 Jan 2009) Log Message: ----------- Added os.getcwdu. This fixes #1219 (necessary for Django 1.0.2 support), but not the larger question of better Unicode handling in the os module, specifically around os.path. Modified Paths: -------------- trunk/jython/Lib/os.py Modified: trunk/jython/Lib/os.py =================================================================== --- trunk/jython/Lib/os.py 2009-01-20 13:56:46 UTC (rev 5949) +++ trunk/jython/Lib/os.py 2009-01-20 18:28:03 UTC (rev 5950) @@ -251,6 +251,13 @@ """ return asPyString(sys.getCurrentWorkingDir()) +def getcwdu(): + """getcwd() -> path + + Return a unicode string representing the current working directory. + """ + return sys.getCurrentWorkingDir() + def chdir(path): """chdir(path) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |