[Piglit] [PATCH 40/44] gen_dispatch.py: don't use tabs

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Jan 27 16:06:48 PST 2016


From: Dylan Baker <baker.dylan.c at gmail.com>

Python 3 doesn't allow mixing of tabs and spaces for indent, only a
choice between one or the other. Piglit uses spaces.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/util/gen_dispatch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
index 8031e9a..3d37017 100644
--- a/tests/util/gen_dispatch.py
+++ b/tests/util/gen_dispatch.py
@@ -169,7 +169,7 @@ class EnumCode(object):
         enums = []
         for enum_group in gl_registry.enum_groups:
             if enum_group.name == 'MemoryBarrierMask':
-	        if enum_group.type == 'bitmask':
+                if enum_group.type == 'bitmask':
                     for enum in enum_group.enums:
                         enums.append(enum)
         return cls.get_enums_by_name(enums)
-- 
2.7.0



More information about the Piglit mailing list