##// END OF EJS Templates
bundle2: add a ``bundle20.nbparts`` property...
Pierre-Yves David -
r21900:b8bd9708 default
parent child Browse files
Show More
@@ -395,6 +395,11 b' class bundle20(object):'
395 395 self._parts = []
396 396 self.capabilities = dict(capabilities)
397 397
398 @property
399 def nbparts(self):
400 """total number of parts added to the bundler"""
401 return len(self._parts)
402
398 403 # methods used to defines the bundle2 content
399 404 def addparam(self, name, value=None):
400 405 """add a stream level parameter"""
General Comments 0
You need to be logged in to leave comments. Login now