summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-07-09 14:53:56 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-07-13 23:31:19 -0700
commit0db3a4dee5d64081bc7729e661485012d81d8a20 (patch)
tree47cd7a2f2848e8f90afc002dfdf2da4c543a2078
parentb67a54332c392602784ebcee1b5474d149be992e (diff)
python: Replace tabs with spaces
Python3 doesn't allow mixed tabs and spaces. Its surprising that this code doesn't raise a runtime exception as is Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rwxr-xr-xreport.py2
-rwxr-xr-xrun.py2
-rwxr-xr-xsplit-to-files.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/report.py b/report.py
index 084309d..dfdc3c1 100755
--- a/report.py
+++ b/report.py
@@ -135,4 +135,4 @@ def main():
print("GAINED: {0}".format(len(gained)))
print("LOST: {0}".format(len(lost)))
if __name__ == "__main__":
- main()
+ main()
diff --git a/run.py b/run.py
index fae3649..360c7c9 100755
--- a/run.py
+++ b/run.py
@@ -146,4 +146,4 @@ def main():
print("shader-db run completed in {:.1f} secs".format(runtimeafter - runtimebefore))
if __name__ == "__main__":
- main()
+ main()
diff --git a/split-to-files.py b/split-to-files.py
index f537cc5..dd49b55 100755
--- a/split-to-files.py
+++ b/split-to-files.py
@@ -99,4 +99,4 @@ def main():
write_files(dirname, parse_input(input.read()))
if __name__ == "__main__":
- main()
+ main()