Mercurial > public > mercurial-scm > hg
diff hgext/inotify/server.py @ 7280:810ca383da9c
remove unused variables
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 28 Oct 2008 19:25:26 +0100 |
parents | 60826e071ce2 |
children | 972737252d05 |
line wrap: on
line diff
--- a/hgext/inotify/server.py Tue Oct 28 19:07:14 2008 +0100 +++ b/hgext/inotify/server.py Tue Oct 28 19:25:26 2008 +0100 @@ -402,7 +402,7 @@ ret = st.st_mode, st.st_size, st.st_mtime self.statcache[wpath] = ret return ret - except OSError, err: + except OSError: self.statcache.pop(wpath, None) raise @@ -413,7 +413,7 @@ st = self.stat(wpath) if stat.S_ISREG(st[0]): self.updatestatus(wpath, st) - except OSError, err: + except OSError: pass def modified(self, wpath):