Exemplo n.º 1
0
 def _download_finished(self, task):
     try:
         self.download_finished.emit(task, task.get_dest())
     except RuntimeError:
         # in some cases, closing the application may destroy the
         # underlying c++ QObject, causing this signal to fail.
         # Skip this silently.
         pass
     BuildDownloadManager._download_finished(self, task)
Exemplo n.º 2
0
 def _download_finished(self, task):
     try:
         self.download_finished.emit(task, task.get_dest())
     except RuntimeError:
         # in some cases, closing the application may destroy the
         # underlying c++ QObject, causing this signal to fail.
         # Skip this silently.
         pass
     BuildDownloadManager._download_finished(self, task)