mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Odd, it didn't commit properly.
This commit is contained in:
parent
9426acc56c
commit
419d2c0e45
@ -278,7 +278,7 @@ class Value(Group):
|
|||||||
self.__parent.__init__(help, **kwargs)
|
self.__parent.__init__(help, **kwargs)
|
||||||
self._default = default
|
self._default = default
|
||||||
self._private = private
|
self._private = private
|
||||||
self.showDefault = showDefault
|
self._showDefault = showDefault
|
||||||
self._help = utils.normalizeWhitespace(help.strip())
|
self._help = utils.normalizeWhitespace(help.strip())
|
||||||
if setDefault:
|
if setDefault:
|
||||||
self.setValue(default)
|
self.setValue(default)
|
||||||
@ -453,7 +453,7 @@ class NormalizedString(String):
|
|||||||
default = self.normalize(default)
|
default = self.normalize(default)
|
||||||
self.__parent = super(NormalizedString, self)
|
self.__parent = super(NormalizedString, self)
|
||||||
self.__parent.__init__(default, *args, **kwargs)
|
self.__parent.__init__(default, *args, **kwargs)
|
||||||
self.showDefault = False
|
self._showDefault = False
|
||||||
|
|
||||||
def normalize(self, s):
|
def normalize(self, s):
|
||||||
return utils.normalizeWhitespace(s.strip())
|
return utils.normalizeWhitespace(s.strip())
|
||||||
|
Loading…
Reference in New Issue
Block a user