diff options
author | 2019-03-24 22:48:13 +0100 | |
---|---|---|
committer | 2019-03-24 22:48:13 +0100 | |
commit | 465f5d42aa107f2b3aa7bab673a602abbd54e15a (patch) | |
tree | 9fa80703949ec9f24754f547829da8c23b92a578 | |
parent | 5ec1befa6342be3b915206a00082668b1c33ba38 (diff) |
complay: spaces instead of tabs for indentation? (nw)
-rw-r--r-- | scripts/build/complay.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/complay.py b/scripts/build/complay.py index ba431cc91d6..b89ca98e19a 100644 --- a/scripts/build/complay.py +++ b/scripts/build/complay.py @@ -461,12 +461,12 @@ class LayoutChecker(Minifyer): self.handleError('Element %s has attribute inputmask "%s" is zero' % (name, attrs['inputmask'])) inputraw = self.checkIntAttribute(name, attrs, 'inputraw', None) if (inputraw is not None): - if 'inputmask' not in attrs: - self.handleError('Element %s has inputraw attribute without inputmask attribute' % (name, )) - if 'inputtag' not in attrs: - self.handleError('Element %s has inputraw attribute without inputtag attribute' % (name, )) - if ((0 > inputraw) or (1 < inputraw)): - self.handleError('Element %s attribute inputraw "%s" not in valid range 0-1' % (name, attrs['inputraw'])) + if 'inputmask' not in attrs: + self.handleError('Element %s has inputraw attribute without inputmask attribute' % (name, )) + if 'inputtag' not in attrs: + self.handleError('Element %s has inputraw attribute without inputtag attribute' % (name, )) + if ((0 > inputraw) or (1 < inputraw)): + self.handleError('Element %s attribute inputraw "%s" not in valid range 0-1' % (name, attrs['inputraw'])) self.handlers.append((self.objectStartHandler, self.objectEndHandler)) self.have_bounds.append(False) self.have_orientation.append(False) |