From: Patrick Donnelly Date: Wed, 11 Sep 2019 17:00:46 +0000 (-0700) Subject: script: raw_input was renamed to input in py3 X-Git-Tag: v15.1.0~1594^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30346%2Fhead;p=ceph.git script: raw_input was renamed to input in py3 Signed-off-by: Patrick Donnelly --- diff --git a/src/script/ptl-tool.py b/src/script/ptl-tool.py index 569d2746c8bc..a171cf57543a 100755 --- a/src/script/ptl-tool.py +++ b/src/script/ptl-tool.py @@ -291,7 +291,7 @@ def build_branch(args): indications.add("Reviewed-by: "+NEW_CONTRIBUTORS[user]) except KeyError as e: try: - name = raw_input("Need name for contributor \"%s\" (use ^D to skip); Reviewed-by: " % user) + name = input("Need name for contributor \"%s\" (use ^D to skip); Reviewed-by: " % user) name = name.strip() if len(name) == 0: continue