def _update_deps(self): status = get_status_as_odict() self._text = "" for name, version in [('Glue', __version__)] + list(status.items()): check = QtWidgets.QTreeWidgetItem(self.ui.version_tree.invisibleRootItem(), [name, version]) self._text += "{0}: {1}\n".format(name, version)
def _update_deps(self): status = get_status_as_odict() self._text = "" for name, version in [('Glue', __version__)] + list(status.items()): check = QtWidgets.QTreeWidgetItem( self.ui.version_tree.invisibleRootItem(), [name, version]) self._text += "{0}: {1}\n".format(name, version)
def diagnostics(): """ Return a some system informaton useful for debugging """ versions = "" for package, version in get_status_as_odict().items(): versions += "* {0}: {1}\n".format(package, version) return versions.strip()