diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-02 13:12:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 11:46:48 +0100 |
commit | 32765150b860ecdea74b4494b9531f5bc40252bb (patch) | |
tree | 49d25f37457f3ebfb93e015a3655fd452c274199 /scripts/send-error-report | |
parent | 10529d8fbc7254523f9749f4b35b07ebcccb6205 (diff) | |
download | openembedded-core-32765150b860ecdea74b4494b9531f5bc40252bb.tar.gz openembedded-core-32765150b860ecdea74b4494b9531f5bc40252bb.tar.bz2 openembedded-core-32765150b860ecdea74b4494b9531f5bc40252bb.zip |
scripts: python3: rename raw_input to input
Renamed raw_input to input as raw_input does not
exist in python 3.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/send-error-report')
-rwxr-xr-x | scripts/send-error-report | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/send-error-report b/scripts/send-error-report index a9f6e42d17..122ce32e52 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report @@ -44,12 +44,12 @@ def getPayloadLimit(url): def ask_for_contactdetails(): print("Please enter your name and your email (optionally), they'll be saved in the file you send.") - username = raw_input("Name (required): ") - email = raw_input("E-mail (not required): ") + username = input("Name (required): ") + email = input("E-mail (not required): ") return username, email def edit_content(json_file_path): - edit = raw_input("Review information before sending? (y/n): ") + edit = input("Review information before sending? (y/n): ") if 'y' in edit or 'Y' in edit: editor = os.environ.get('EDITOR', None) if editor: |