]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed silly typo in previous fix. Needs to be ported forward.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 29 Oct 2002 21:59:20 +0000 (21:59 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 29 Oct 2002 21:59:20 +0000 (21:59 +0000)
Mac/Lib/macostools.py

index 43ab74fb7760600745f9cb3e0144689b321d67b3..9f072d751167bcf8f651250063c17233bc558b6b 100644 (file)
@@ -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"""