File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ object ``g``. That might look like this::
22
22
pass
23
23
24
24
try:
25
- user = raw_input ('GitHub username: ')
25
+ user = input ('GitHub username: ') or getuser( )
26
26
except KeyboardInterrupt:
27
27
user = getuser()
28
28
@@ -60,12 +60,12 @@ Adding a new key to your account
60
60
::
61
61
62
62
try:
63
- path = raw_input ('Path to key: ')
63
+ path = input ('Path to key: ')
64
64
except KeyboardInterrupt:
65
65
path = ''
66
66
67
67
try:
68
- name = raw_input ('Key name: ')
68
+ name = input ('Key name: ')
69
69
except KeyboardInterrupt:
70
70
name = ''
71
71
@@ -110,7 +110,7 @@ Creating a new repository
110
110
111
111
for key in keys:
112
112
try:
113
- repo[key] = raw_input (key + ': ')
113
+ repo[key] = input (key + ': ')
114
114
except KeyboardInterrupt:
115
115
pass
116
116
You can’t perform that action at this time.
0 commit comments