[Python-checkins] python/dist/src/Lib/plat-mac macfs.py,1.8,1.9

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Thu, 27 Feb 2003 15:18:02 -0800


Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv12612

Modified Files:
	macfs.py 
Log Message:
Added a deprecation warning.


Index: macfs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/macfs.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** macfs.py	29 Jan 2003 09:56:56 -0000	1.8
--- macfs.py	27 Feb 2003 23:17:59 -0000	1.9
***************
*** 8,11 ****
--- 8,14 ----
  import warnings
  
+ warnings.warn("macfs is deprecated, use Carbon.File, Carbon.Folder or EasyDialogs",
+               DeprecationWarning, stacklevel=2)
+               
  # First step: ensure we also emulate the MACFS module, which contained
  # all the constants