Revision: 7259
http://jython.svn.sourceforge.net/jython/?rev=7259&view=rev
Author: pjenvey
Date: 2011-03-21 23:10:49 +0000 (Mon, 21 Mar 2011)
Log Message:
-----------
might as well deprecate javapath so we don't really have to maintain it going
forward
Modified Paths:
--------------
trunk/jython/Lib/javapath.py
Modified: trunk/jython/Lib/javapath.py
===================================================================
--- trunk/jython/Lib/javapath.py 2011-03-21 21:57:22 UTC (rev 7258)
+++ trunk/jython/Lib/javapath.py 2011-03-21 23:10:49 UTC (rev 7259)
@@ -21,6 +21,9 @@
import os
from org.python.core.Py import newString as asPyString
+import warnings
+warnings.warn('The javapath module is deprecated. Use the os.path module.',
+ DeprecationWarning, 2)
def _tostr(s, method):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|