Hack because kqueue apparently is still wip

This commit is contained in:
PhilipTrauner 2016-03-29 23:41:03 +02:00
parent f4f9d06880
commit 42f00f0ae4

View file

@ -641,7 +641,7 @@ class KqueueEmitter(EventEmitter):
self.queue_event(event) self.queue_event(event)
else: else:
self.queue_event(FileMovedEvent(src_path, dest_path)) self.queue_event(FileMovedEvent(src_path, dest_path))
except KeyError: except KeyError, AttributeError:
# If the new snapshot does not have an inode for the # If the new snapshot does not have an inode for the
# old path, we haven't found the new name. Therefore, # old path, we haven't found the new name. Therefore,
# we mark it as deleted and remove unregister the path. # we mark it as deleted and remove unregister the path.