def downloadFinished(self, success): """ This callback is made when all of the packages have been downloaded and installed (or there has been some failure). If all packages where successfully installed, success is True. If there were no packages that required downloading, this callback will be made immediately, *without* a corresponding call to downloadStarted(). """ PackageInstaller.downloadFinished(self, success) if not success: print "Failed to download all packages."
def downloadFinished(self, success): PackageInstaller.downloadFinished(self, success) if not success: print 'Failed to download all packages.'