Changeset cb77bacef4ee…
Parent d6e83820b25e…
by
Changes to one file · Browse files at cb77bacef4ee Showing diff from parent d6e83820b25e Diff from another changeset...
@@ -18,6 +18,7 @@ sys.stderr = BlackHole()
import os
+import errno
import time
import threading
import cStringIO
@@ -366,8 +367,8 @@ if not e.startswith('@@noicons'):
unlink(tfn)
except (IOError, OSError), e:
- logger.msg("Error while trying to remove %s (%s)" % (tfn, e))
- pass
+ if e.errno != errno.ENOENT:
+ logger.msg("Error while trying to remove %s (%s)" % (tfn, e))
if notifypaths:
shlib.shell_notify(list(notifypaths))
|
Loading...