From 1c8501e5b4e495f88633802f27c6f08ca42e6f01 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 7 Mar 2003 15:36:49 +0000 Subject: [PATCH] Filter out macfs warning. --- Lib/plat-mac/macostools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/plat-mac/macostools.py b/Lib/plat-mac/macostools.py index 1a59354d074..3644e7ec076 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()