Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 12063:516b000fbb7e
cleanup: remove unused variables
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Fri, 27 Aug 2010 13:32:40 -0400 |
parents | 99eee847beaa |
children | c52c629ce19e |
line wrap: on
line diff
--- a/mercurial/windows.py Fri Aug 27 13:32:38 2010 -0400 +++ b/mercurial/windows.py Fri Aug 27 13:32:40 2010 -0400 @@ -288,7 +288,7 @@ '''atomically rename file src to dst, replacing dst if it exists''' try: os.rename(src, dst) - except OSError, err: # FIXME: check err (EEXIST ?) + except OSError: # FIXME: check err (EEXIST ?) # On windows, rename to existing file is not allowed, so we # must delete destination first. But if a file is open, unlink