Addon Manager: pylint cleanup of devmode

This commit is contained in:
Chris Hennes
2023-02-21 10:39:57 -06:00
committed by Chris Hennes
parent d13926baa8
commit 3826042529
11 changed files with 103 additions and 98 deletions

View File

@@ -43,6 +43,8 @@ try:
RegexWrapper = QRegularExpression
RegexValidatorWrapper = QRegularExpressionValidator
except ImportError:
QRegularExpressionValidator = None
QRegularExpression = None
from PySide.QtGui import (
QRegExpValidator,
)
@@ -150,7 +152,7 @@ class LicenseSelector:
new_short_code = self.dialog.otherLineEdit.text()
self.pref.SetString("devModeLastSelectedLicense", new_short_code)
return new_short_code, new_license_path
return None, None
return None
def set_license(self, short_code):
"""Set the currently-selected license."""