]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
contextutil: python3 compatibility
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 7 Oct 2019 10:28:33 +0000 (12:28 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 7 Oct 2019 10:28:33 +0000 (12:28 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/contextutil.py

index 148ec43837c2fc2fb862270d1a40b570b4fce799..cdd9049534a082abb385a3c049cd883b7b9a38fb 100644 (file)
@@ -66,7 +66,7 @@ class safe_while(object):
         >>> with safe_while() as proceed:
         ...    while proceed():
         ...        # repetitive code here
-        ...        print "hello world"
+        ...        print("hello world")
         ...
         Traceback (most recent call last):
         ...