Added a deprecation warning.

This commit is contained in:
Jack Jansen 2003-02-27 23:17:59 +00:00
parent 86bc464414
commit abeb7d5f7f

View file

@ -7,6 +7,9 @@ import Carbon.Res
import Carbon.File
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