[Piglit] [PATCH v3 02/29] piglit-merge-results.py: PEP8 compliance
Dylan Baker
baker.dylan.c at gmail.com
Wed Jul 24 14:56:45 PDT 2013
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
piglit-merge-results.py | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/piglit-merge-results.py b/piglit-merge-results.py
index 7fc84db..ec47bca 100755
--- a/piglit-merge-results.py
+++ b/piglit-merge-results.py
@@ -23,22 +23,19 @@
import argparse
-import sys, os.path
+import sys
+import os.path
sys.path.append(os.path.dirname(os.path.realpath(sys.argv[0])))
import framework.core as core
-
-#############################################################################
-##### Main program
-#############################################################################
def main():
parser = argparse.ArgumentParser()
parser.add_argument("results",
- metavar = "<First Results File>",
- nargs = "*",
- help = "Space seperated list of results files")
+ metavar="<First Results File>",
+ nargs="*",
+ help="Space seperated list of results files")
args = parser.parse_args()
combined = core.loadTestResults(args.results.pop(0))
--
1.8.3.1
More information about the Piglit
mailing list