summaryrefslogtreecommitdiff
path: root/piglit-summary-html.py
diff options
context:
space:
mode:
authorJeff Muizelaar <jeff@infidigm.net>2007-03-25 00:57:28 -0400
committerNicolai Haehnle <nhaehnle@gmail.com>2007-03-25 11:59:40 +0200
commit84cf1feb3dc70f054abbbdcf79cb9cf0fda73cc2 (patch)
treee79dd50a463ed69a530cc006bab3570b81a9d34a /piglit-summary-html.py
parent5a2d446816e0916f219121fb9a474dc9fc212531 (diff)
piglit: Fix calls to exit()
Fix calls to exit() to use sys.exit(). 'exit' is a string. We want to use sys.exit instead. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
Diffstat (limited to 'piglit-summary-html.py')
-rwxr-xr-xpiglit-summary-html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index fbe257e77..0037e7cbc 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -373,7 +373,7 @@ Example:
%(progName)s summary/mysum results/all.results
"""
print USAGE % {'progName': sys.argv[0]}
- exit(1)
+ sys.exit(1)
def main():