Exemplo n.º 1
0
 def _do_start(self, now=None):
     """
     Notification that a file download has started.
     The event is forwarded to the report object to be consolidated
     with other reported progress information.
     :param now: timestamp.
     :type now: float
     """
     DownloadBaseCallback._do_start(self, now)
     action = 'Downloading'
     package = ' | '.join((self._getName(), self.totSize))
     self.report.set_action(action, package)
Exemplo n.º 2
0
 def _do_start(self, now=None):
     """
     Notification that a file download has started.
     The event is forwarded to the report object to be consolidated
     with other reported progress information.
     :param now: timestamp.
     :type now: float
     """
     DownloadBaseCallback._do_start(self, now)
     action = 'Downloading'
     package = ' | '.join((self._getName(), self.totSize))
     self.report.set_action(action, package)