Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 10394:4612cded5176
fix coding style (reported by pylint)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 08 Feb 2010 15:36:34 +0100 |
parents | 08a0f04b56bd |
children | 18e81d42ee5c |
line wrap: on
line diff
--- a/mercurial/windows.py Mon Feb 08 15:06:26 2010 +0100 +++ b/mercurial/windows.py Mon Feb 08 15:36:34 2010 +0100 @@ -41,7 +41,7 @@ limit = 16000 l = len(s) start = 0 - self.softspace = 0; + self.softspace = 0 while start < l: end = start + limit self.fp.write(s[start:end]) @@ -217,7 +217,6 @@ '''Stat each file in files and yield stat or None if file does not exist. Cluster and cache stat per directory to minimize number of OS stat calls.''' ncase = os.path.normcase - sep = os.sep dircache = {} # dirname -> filename -> status | None if file does not exist for nf in files: nf = ncase(nf)