summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-07 15:36:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-07 15:36:49 (GMT)
commit1c8501e5b4e495f88633802f27c6f08ca42e6f01 (patch)
tree9ca6007982000127e0f0a17ef1c28b1e0799c886 /Lib/plat-mac
parentf9347782e03caeaaede91ce91d4992c9f0d8d359 (diff)
downloadcpython-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.py2
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()