Commits

Anonymous committed 85b3d54

exchange: expose length of pushed markers

http wireprotocol will need it.

Comments (0)

Files changed (1)

     """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)