Exemplo n.º 1
0
 def _get_status_piece_description(self):
     return "%s chunk: %s" % (Model._get_status_piece_description(self), self.get_index_of_current_chunk()+1)
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     self.number_of_chunks = 1
     self.index_of_current_chunk = 0
     Model.__init__(self, *args, **kwargs)
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     self.number_of_chunks = 1
     self.index_of_current_chunk = 0
     Model.__init__(self, *args, **kwargs)
Exemplo n.º 4
0
 def _get_status_piece_description(self):
     return "%s chunk: %s" % (Model._get_status_piece_description(self),
                              self.get_index_of_current_chunk() + 1)