Mercurial > public > mercurial-scm > hg
diff mercurial/util.py @ 1308:2073e5a71008
Cleanup of tabs and trailing spaces.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 21 Sep 2005 07:56:19 +0200 |
parents | 1546c2aa6b30 |
children | c9cf171f30dd |
line wrap: on
line diff
--- a/mercurial/util.py Tue Sep 20 21:35:51 2005 -0700 +++ b/mercurial/util.py Wed Sep 21 07:56:19 2005 +0200 @@ -45,7 +45,7 @@ if code: raise Abort("patch command failed: exit status %s " % code) return files.keys() - + def binary(s): """return true if a string is binary data using diff's heuristic""" if s and '\0' in s[:4096]: @@ -470,7 +470,7 @@ def read(self, l): """Read L bytes of data from the iterator of chunks of data. - Returns less than L bytes if the iterator runs dry.""" + Returns less than L bytes if the iterator runs dry.""" if l > len(self.buf) and not self.iterempty: # Clamp to a multiple of self.targetsize targetsize = self.targetsize * ((l // self.targetsize) + 1)