From b468632c1b1dd56645c997536b4643644daa67b5 Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Wed, 17 Aug 2016 11:31:07 -0400 Subject: [PATCH] Remove unnecessary confirm prompt I'm not sure what value this confirm checks adds. Besides this is not helpful when we want to drive this tool via a scripted heat template for example and causes the deploy to pause needing human interaction. Change-Id: I541ca2769c21305eb5fee4acc1a382970f326268 --- aodh/cmd/alarm_conversion.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/aodh/cmd/alarm_conversion.py b/aodh/cmd/alarm_conversion.py index 3fe4917d..721dc7fa 100644 --- a/aodh/cmd/alarm_conversion.py +++ b/aodh/cmd/alarm_conversion.py @@ -15,7 +15,6 @@ """ import datetime -from six import moves import uuid import argparse @@ -89,12 +88,6 @@ def get_parser(): def conversion(): - 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 args = get_parser().parse_args() conf = service.prepare_service() conn = storage.get_connection_from_config(conf)