From 3ba92560b96e59a4e93a03f2e42a000778536905 Mon Sep 17 00:00:00 2001 From: Mofassir Date: Mon, 11 Jan 2016 04:23:14 -0800 Subject: Updated the code to accept compute instead of compute.txt Change-Id: I06ce77e04db0e1c7d7de6c16b3a876740099e5ae Signed-off-by: Mofassir --- func/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'func/cli.py') diff --git a/func/cli.py b/func/cli.py index 833e3740..8433e483 100644 --- a/func/cli.py +++ b/func/cli.py @@ -24,9 +24,9 @@ class cli(): _benchmarks[items]=_benchmarks[items].rstrip() return _benchmarks def _getsuite(self, filepath): - for suites in range (len(filepath)): - xindex= filepath[suites].find('.') - filepath[suites]=filepath[suites][0:xindex] +# for suites in range (len(filepath)): + # xindex= filepath[suites].find('.') + # filepath[suites]=filepath[suites][0:xindex] return filepath def __init__(self): @@ -63,4 +63,4 @@ class cli(): else: print (args.benchmark, ' is not a Template in the Directory - \ Enter a Valid file name. or use qtip.py -h for list') - \ No newline at end of file + -- cgit 1.2.3-korg