]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script: raw_input was renamed to input in py3 30346/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 11 Sep 2019 17:00:46 +0000 (10:00 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 11 Sep 2019 17:00:46 +0000 (10:00 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/script/ptl-tool.py

index 569d2746c8bc390d67370362b9c4342f1865ae2f..a171cf57543afa80646f51a25ed39b66902d8fbe 100755 (executable)
@@ -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