From: Jack Jansen Date: Tue, 29 Oct 2002 21:59:20 +0000 (+0000) Subject: Fixed silly typo in previous fix. Needs to be ported forward. X-Git-Tag: v2.2.3c1~270 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a65048e646fd81e147c541e0e7f08971b4aa22c4;p=thirdparty%2FPython%2Fcpython.git Fixed silly typo in previous fix. Needs to be ported forward. --- diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 43ab74fb7760..9f072d751167 100644 --- a/Mac/Lib/macostools.py +++ b/Mac/Lib/macostools.py @@ -69,7 +69,10 @@ def touched(dst): now = time.time() if now == moddate: now = now + 1 - dir_fss.SetDates(crdate, now, bkdate) + try: + dir_fss.SetDates(crdate, now, bkdate) + except macfs.error: + pass def touched_ae(dst): """Tell the finder a file has changed"""