author | Pierre-Yves David <pierre-yves.david@fb.com> |
Mon, 10 Mar 2014 21:55:41 -0700 | |
changeset 879 | 85b3d54516a7 |
parent 878 | 5cb2744a6d36 |
child 880 | 7fe06f32d1ad |
hgext/evolve.py | file | annotate | diff | comparison | revisions |
--- a/hgext/evolve.py Mon Mar 10 22:09:26 2014 -0700 +++ b/hgext/evolve.py Mon Mar 10 21:55:41 2014 -0700 @@ -2115,12 +2115,12 @@ """hacky string io for progress""" @util.propertycache - def _length(self): + def length(self): return len(self.getvalue()) def read(self, size): self.ui.progress('OBSEXC', self.tell(), unit="bytes", - total=self._length) + total=self.length) return StringIO.read(self, size)