summaryrefslogtreecommitdiffstats
path: root/glustolibs-io/shared_files/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-io/shared_files/scripts')
-rwxr-xr-xglustolibs-io/shared_files/scripts/generate_io.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/glustolibs-io/shared_files/scripts/generate_io.py b/glustolibs-io/shared_files/scripts/generate_io.py
index d07bda7b0..0f2f2a3ea 100755
--- a/glustolibs-io/shared_files/scripts/generate_io.py
+++ b/glustolibs-io/shared_files/scripts/generate_io.py
@@ -169,8 +169,7 @@ def check_if_percent_to_fill_or_timeout_is_met(dirname, percent_to_fill,
else:
print("Timeout %s seconds reached before filling directory with "
"given percentage %s" % (str(timeout), str(percent_to_fill)))
- return True
- return False
+ return False
def run_check_if_percent_to_fill_or_timeout_is_met(dirname,