Addon Manager: Cleanup

This commit is contained in:
Chris Hennes
2022-09-09 13:00:11 -05:00
parent 354a29d98a
commit 139b99d371
11 changed files with 77 additions and 169 deletions
+2 -1
View File
@@ -30,7 +30,6 @@ import FreeCADGui
from PySide2.QtWidgets import (
QFileDialog,
QTableWidgetItem,
QListWidgetItem,
QDialog,
QSizePolicy,
@@ -90,12 +89,14 @@ class AddonGitInterface:
return AddonGitInterface.git_manager.get_last_authors(self.path, 10)
return []
#pylint: disable=too-many-instance-attributes
class DeveloperMode:
"""The main Developer Mode dialog, for editing package.xml metadata graphically."""
def __init__(self):
# In the UI we want to show a translated string for the person type, but the underlying
# string must be the one expected by the metadata parser, in English
self.person_type_translation = {