summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2017-04-20 13:47:54 +0300
committerMartin Peres <martin.peres@linux.intel.com>2017-10-04 17:48:28 +0300
commit62e4cb3d9241fadb9733108008c8d1be9261ab2c (patch)
treef54bcb209643b15baca11a1d59e01c996302097d
parentb9548ad8afba2a1850ecff0e47db9fcaaa0546d0 (diff)
smartezbench: do not complain about no-op changes in profiles
-rw-r--r--python-modules/ezbench/smartezbench.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python-modules/ezbench/smartezbench.py b/python-modules/ezbench/smartezbench.py
index 29dd349..8956a56 100644
--- a/python-modules/ezbench/smartezbench.py
+++ b/python-modules/ezbench/smartezbench.py
@@ -480,6 +480,8 @@ class SmartEzbench:
self.__log(Criticality.EE,
"The following error arose '{}({})'.".format(e.args[0]['err_code'],
e.args[0]['err_str']))
+ elif profile == self.state['profile']:
+ ret = True
else:
self.__log(Criticality.EE, "You cannot change the profile of a report that already has results. Start a new one.")
self.__release_lock()