Sun, 14 Jan 2018 12:03:34 +0100
Fixed a bug in the plug-in repository dialog causing the cleanup function to fail, if the download directory contains a file without version info seperated by '-'.
# -*- coding: utf-8 -*- # Copyright (c) 2004 - 2018 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implemting a dialog to show repository information. """ from __future__ import unicode_literals from PyQt5.QtWidgets import QDialog from .Ui_RepositoryInfoDialog import Ui_VcsRepositoryInfoDialog class VcsRepositoryInfoDialog(QDialog, Ui_VcsRepositoryInfoDialog): """ Class implemting a dialog to show repository information. """ def __init__(self, parent, info): """ Constructor @param parent reference to the parent widget (QWidget) @param info info data to show (string) """ super(VcsRepositoryInfoDialog, self).__init__(parent) self.setupUi(self) self.infoBrowser.setHtml(info)