diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-07 15:36:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-07 15:36:49 (GMT) |
commit | 1c8501e5b4e495f88633802f27c6f08ca42e6f01 (patch) | |
tree | 9ca6007982000127e0f0a17ef1c28b1e0799c886 /Lib/plat-mac | |
parent | f9347782e03caeaaede91ce91d4992c9f0d8d359 (diff) | |
download | cpython-1c8501e5b4e495f88633802f27c6f08ca42e6f01.zip cpython-1c8501e5b4e495f88633802f27c6f08ca42e6f01.tar.gz cpython-1c8501e5b4e495f88633802f27c6f08ca42e6f01.tar.bz2 |
Filter out macfs warning.
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r-- | Lib/plat-mac/macostools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/plat-mac/macostools.py b/Lib/plat-mac/macostools.py index 1a59354..3644e7e 100644 --- a/Lib/plat-mac/macostools.py +++ b/Lib/plat-mac/macostools.py @@ -66,6 +66,8 @@ def mkdirs(dst): def touched(dst): """Tell the finder a file has changed. No-op on MacOSX.""" if sys.platform != 'mac': return + import warnings + warnings.filterwarnings("ignore", "macfs.*", DeprecationWarning, __name__) import macfs file_fss = macfs.FSSpec(dst) vRefNum, dirID, name = file_fss.as_tuple() |