minor fix

This commit is contained in:
lilydjwg 2012-12-15 16:16:33 +08:00
parent 7f90c1a54c
commit 1931a86c82

View file

@ -228,7 +228,7 @@ class EventHandler(pyinotify.ProcessEvent):
try: try:
os.symlink(os.path.join('..', arch, file), newpath) os.symlink(os.path.join('..', arch, file), newpath)
except FileExistsError: except FileExistsError:
# already there? do nothing then. pass
else: else:
# XXX: this should be removed as soon as symlinks are supported # XXX: this should be removed as soon as symlinks are supported
self._real_dispatch(newd, ActionInfo(newpath, action)) self._real_dispatch(newd, ActionInfo(newpath, action))