krb5 commit: Fix typo in t_renew.py

Greg Hudson ghudson at mit.edu
Tue Jun 2 01:04:14 EDT 2020


https://github.com/krb5/krb5/commit/4bf93b120c53a0dc2e3d94eb3d3052420b230a14
commit 4bf93b120c53a0dc2e3d94eb3d3052420b230a14
Author: Robbie Harwood <rharwood at redhat.com>
Date:   Mon Jun 1 15:31:17 2020 -0400

    Fix typo in t_renew.py

 src/tests/t_renew.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tests/t_renew.py b/src/tests/t_renew.py
index f1bdccf..1630345 100755
--- a/src/tests/t_renew.py
+++ b/src/tests/t_renew.py
@@ -45,7 +45,8 @@ def test(testname, life, rlife, exp_life, exp_rlife, env=None):
     if rtime is not None:
         rlife = (rtime - starttime).seconds
         if abs(rlife - exp_rlife) > 5:
-            fail('%s: expected rlife %d, got %d' (testname, exp_rlife, rlife))
+            fail('%s: expected rlife %d, got %d' %
+                 (testname, exp_rlife, rlife))
 
 # Get renewable tickets.
 test('simple', '1h', '2h', 3600, 7200)


More information about the cvs-krb5 mailing list