From cf43e568b15d3bb354028c326783c1e71dad8bf2 Mon Sep 17 00:00:00 2001 From: Jacek Szubert Date: Mon, 6 Mar 2017 15:17:49 +1100 Subject: [PATCH] Remove unused functions --- cachet_url_monitor/configuration.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cachet_url_monitor/configuration.py b/cachet_url_monitor/configuration.py index a5369ec..847f1c1 100644 --- a/cachet_url_monitor/configuration.py +++ b/cachet_url_monitor/configuration.py @@ -89,18 +89,6 @@ class Configuration(object): for expectation in self.expectations: self.logger.info('Registered expectation: %s' % (expectation,)) - def is_create_incident(self): - """Will verify if the configuration is set to create incidents or not. - :return True if the configuration is set to create incidents or False it otherwise. - """ - return 'create_incident' in self.data['cachet'] and self.data['cachet']['create_incident'] - - def is_update_status(self): - """Will verify if the configuration is set to update status or not. - :return True if the configuration is set to update status or False it otherwise. - """ - return 'update_status' in self.data['cachet'] and self.data['cachet']['update_status'] - def get_action(self): """Retrieves the action list from the configuration. If it's empty, returns an empty list. :return: The list of actions, which can be an empty list.