summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oepydevshell-internal.py2
-rwxr-xr-xscripts/send-error-report6
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/oepydevshell-internal.py b/scripts/oepydevshell-internal.py
index f7b2e4e0bf..2566606b50 100755
--- a/scripts/oepydevshell-internal.py
+++ b/scripts/oepydevshell-internal.py
@@ -67,7 +67,7 @@ try:
67 i = i[4096:] 67 i = i[4096:]
68 if sys.stdin in ready: 68 if sys.stdin in ready:
69 echonocbreak(sys.stdin.fileno()) 69 echonocbreak(sys.stdin.fileno())
70 o = raw_input() 70 o = input()
71 cbreaknoecho(sys.stdin.fileno()) 71 cbreaknoecho(sys.stdin.fileno())
72 pty.write(o + "\n") 72 pty.write(o + "\n")
73 except (IOError, OSError) as e: 73 except (IOError, OSError) as e:
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):
44 44
45def ask_for_contactdetails(): 45def ask_for_contactdetails():
46 print("Please enter your name and your email (optionally), they'll be saved in the file you send.") 46 print("Please enter your name and your email (optionally), they'll be saved in the file you send.")
47 username = raw_input("Name (required): ") 47 username = input("Name (required): ")
48 email = raw_input("E-mail (not required): ") 48 email = input("E-mail (not required): ")
49 return username, email 49 return username, email
50 50
51def edit_content(json_file_path): 51def edit_content(json_file_path):
52 edit = raw_input("Review information before sending? (y/n): ") 52 edit = input("Review information before sending? (y/n): ")
53 if 'y' in edit or 'Y' in edit: 53 if 'y' in edit or 'Y' in edit:
54 editor = os.environ.get('EDITOR', None) 54 editor = os.environ.get('EDITOR', None)
55 if editor: 55 if editor: