Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/util.py @ 4938: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 +++ b/mercurial/util.py @@ -616,7 +616,7 @@ def rename(src, dst): """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