From: Mathieu Bridon Date: Thu, 5 Jul 2018 13:17:33 +0000 (+0200) Subject: python: Use spaces, not tabs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5a8d51e541376077d3ca72f00eacadab6ac0501;p=mesa.git python: Use spaces, not tabs Python 3 doesn't allow mixing spaces and tabs in a script, contrarily to Python 2. Signed-off-by: Mathieu Bridon Reviewed-by: Eric Engestrom Reviewed-by: Dylan Baker --- diff --git a/src/mapi/glapi/gen/glX_proto_size.py b/src/mapi/glapi/gen/glX_proto_size.py index 2b7cefd2357..284ee70e618 100644 --- a/src/mapi/glapi/gen/glX_proto_size.py +++ b/src/mapi/glapi/gen/glX_proto_size.py @@ -612,10 +612,10 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common): if s == 0: s = 1 sig += "(%u,%u)" % (f.offset_of(p.counter), s) - if size == '': - size = p.size_string() - else: - size = "safe_add(%s, %s)" % (size, p.size_string()) + if size == '': + size = p.size_string() + else: + size = "safe_add(%s, %s)" % (size, p.size_string()) # If the calculated signature matches a function that has # already be emitted, don't emit this function. Instead, add