diff --git a/cgcs-patch/cgcs-patch/cgcs_patch/patch_client.py b/cgcs-patch/cgcs-patch/cgcs_patch/patch_client.py index c90b9cde..6f29e16e 100644 --- a/cgcs-patch/cgcs-patch/cgcs_patch/patch_client.py +++ b/cgcs-patch/cgcs-patch/cgcs_patch/patch_client.py @@ -5,6 +5,7 @@ SPDX-License-Identifier: Apache-2.0 """ from __future__ import print_function +from six.moves import input import requests import json import os @@ -600,7 +601,7 @@ def patch_commit_req(debug, args): print(textwrap.fill(commit_warning, width=TERM_WIDTH, subsequent_indent=' ' * 9)) print() - user_input = raw_input("Would you like to continue? [y/N]: ") + user_input = input("Would you like to continue? [y/N]: ") if user_input.lower() != 'y': print("Aborting...") return 1