diff options
author | Mofassir <Mofassir_arif@Dellteam.com> | 2016-01-11 04:23:14 -0800 |
---|---|---|
committer | Mofassir <Mofassir_arif@Dellteam.com> | 2016-01-11 04:23:14 -0800 |
commit | 3ba92560b96e59a4e93a03f2e42a000778536905 (patch) | |
tree | 602df85cb8ac89897cf80502af318fd9f74717eb /func | |
parent | ffa0be2adf6e9e44e2317f89dd5832aff96772ad (diff) |
Updated the code to accept compute instead of compute.txt
Change-Id: I06ce77e04db0e1c7d7de6c16b3a876740099e5ae
Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
Diffstat (limited to 'func')
-rw-r--r-- | func/cli.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 + |