Addon Manager: pylint cleanup of devmode
This commit is contained in:
committed by
Chris Hennes
parent
efdbccd0b2
commit
0a8037a27d
@@ -40,6 +40,8 @@ try:
|
||||
RegexWrapper = QRegularExpression
|
||||
RegexValidatorWrapper = QRegularExpressionValidator
|
||||
except ImportError:
|
||||
QRegularExpressionValidator = None
|
||||
QRegularExpression = None
|
||||
from PySide.QtGui import (
|
||||
QRegExpValidator,
|
||||
)
|
||||
@@ -163,4 +165,4 @@ class VersionValidator(QValidator):
|
||||
return semver_result
|
||||
if calver_result[0] == QValidator.Intermediate:
|
||||
return calver_result
|
||||
return (QValidator.Invalid, value, position)
|
||||
return QValidator.Invalid, value, position
|
||||
|
||||
Reference in New Issue
Block a user