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