--- a/PluginManager/PluginRepositoryDialog.py Wed Oct 03 13:20:57 2012 +0200 +++ b/PluginManager/PluginRepositoryDialog.py Wed Oct 03 15:36:41 2012 +0200 @@ -491,16 +491,19 @@ @param errors list of SSL errors (list of QSslError) """ errorStrings = [] - for err in errors: - errorStrings.append(err.errorString()) - errorString = '.<br />'.join(errorStrings) - ret = E5MessageBox.yesNo(self, - self.trUtf8("SSL Errors"), - self.trUtf8("""<p>SSL Errors:</p>""" - """<p>{0}</p>""" - """<p>Do you want to ignore these errors?</p>""")\ - .format(errorString), + if errors: + for err in errors: + errorStrings.append(err.errorString()) + errorString = '.<br />'.join(errorStrings) + ret = E5MessageBox.yesNo(self, + self.trUtf8("SSL Errors"), + self.trUtf8("""<p>SSL Errors:</p>""" + """<p>{0}</p>""" + """<p>Do you want to ignore these errors?</p>""")\ + .format(errorString), icon=E5MessageBox.Warning) + else: + ret = True if ret: reply.ignoreSslErrors() else: