Python 3 compatibility: convert raw_input to input
Change-Id: I86699cc6d880c137e80183d7196874ec0f7893e7 Closes-Bug: #1797760
This commit is contained in:
parent
117d8e966f
commit
5edaac5246
@ -248,7 +248,7 @@ for base_path in opts.files:
|
||||
|
||||
print('The yaml file will be overwritten and the original saved as %s'
|
||||
% backup_filename)
|
||||
if not (opts.yes or raw_input("Overwrite %s? [y/n] " % base_path).lower() == 'y'):
|
||||
if not (opts.yes or input("Overwrite %s? [y/n] " % base_path).lower() == 'y'):
|
||||
print("Skipping file %s" % base_path)
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user