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 <bochecha@daitauha.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Mathieu Bridon 2018-07-05 15:17:33 +02:00 committed by Dylan Baker
parent 0f7b18fa0d
commit e5a8d51e54

View file

@ -612,10 +612,10 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
if s == 0: s = 1 if s == 0: s = 1
sig += "(%u,%u)" % (f.offset_of(p.counter), s) sig += "(%u,%u)" % (f.offset_of(p.counter), s)
if size == '': if size == '':
size = p.size_string() size = p.size_string()
else: else:
size = "safe_add(%s, %s)" % (size, p.size_string()) size = "safe_add(%s, %s)" % (size, p.size_string())
# If the calculated signature matches a function that has # If the calculated signature matches a function that has
# already be emitted, don't emit this function. Instead, add # already be emitted, don't emit this function. Instead, add