]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changed findertools.move() to move() in movetotrash.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 24 Jul 2001 11:37:23 +0000 (11:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 24 Jul 2001 11:37:23 +0000 (11:37 +0000)
Mac/Lib/findertools.py

index 0fd4c51183e36963275940210efcd036aa64f9ab..7e1e3fd648e17f82bdb4842663cb7f8500d1a06e 100644 (file)
@@ -681,7 +681,7 @@ def movetotrash(path):
        """move the object to the trash"""
        fss = macfs.FSSpec(path)
        trashfolder = macfs.FSSpec(macfs.FindFolder(fss.as_tuple()[0], 'trsh', 0) + ("",)).as_pathname()
-       findertools.move(path, trashfolder)
+       move(path, trashfolder)
 
 def emptytrash():
        """empty the trash"""