Mercurial > hg-stable
diff mercurial/util.py @ 4956:02b127749dc0
fix unused variables reported by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 20 Jul 2007 09:31:32 +0200 |
parents | c8d1aa1822d5 |
children | d5126a0172ba |
line wrap: on
line diff
--- a/mercurial/util.py Thu Jul 19 18:39:51 2007 +0200 +++ b/mercurial/util.py Fri Jul 20 09:31:32 2007 +0200 @@ -616,7 +616,7 @@ """forcibly rename a file""" try: os.rename(src, dst) - except OSError, err: + except OSError, err: # FIXME: check err (EEXIST ?) # on windows, rename to existing file is not allowed, so we # must delete destination first. but if file is open, unlink # schedules it for delete but does not delete it. rename