diff options
author | Rob Austein <sra@hactrn.net> | 2017-07-03 16:46:50 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-07-03 16:46:50 -0400 |
commit | e712096a60017cd624ec67f75cbf414df57455a7 (patch) | |
tree | ed83b20b5ca8fe95a069d0fa5191af5e9716a3dc | |
parent | 42bc8400c1c0e8cee79f26175c7ff0d688112b21 (diff) |
Fencepost error (1-based counting using xrange(), sigh).
-rwxr-xr-x[-rw-r--r--] | tests/time-keygen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/time-keygen.py b/tests/time-keygen.py index fcd47c6..b7311ba 100644..100755 --- a/tests/time-keygen.py +++ b/tests/time-keygen.py @@ -22,7 +22,7 @@ hsm.login(HAL_USER_NORMAL, args.pin) flags = HAL_KEY_FLAG_USAGE_DIGITALSIGNATURE | (HAL_KEY_FLAG_TOKEN if args.token else 0) sum = timedelta() -for n in xrange(1, args.iterations): +for n in xrange(1, args.iterations + 1): t0 = datetime.now() |