Merge "Replace raw_input with input to make PY3 compatible"
This commit is contained in:
commit
6f186567bb
@ -15,6 +15,7 @@
|
||||
"""
|
||||
|
||||
import datetime
|
||||
from six import moves
|
||||
import uuid
|
||||
|
||||
import argparse
|
||||
@ -88,9 +89,9 @@ def get_parser():
|
||||
|
||||
|
||||
def conversion():
|
||||
confirm = raw_input("This tool is used for converting the combination "
|
||||
"alarms to composite alarms, please type 'yes' to "
|
||||
"confirm: ")
|
||||
confirm = moves.input("This tool is used for converting the combination "
|
||||
"alarms to composite alarms, please type 'yes' to "
|
||||
"confirm: ")
|
||||
if confirm != 'yes':
|
||||
print("Alarm conversion aborted!")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user