From: Markus Lehtonen Date: Tue, 27 Nov 2012 09:25:28 +0000 (+0200) Subject: Tristate: drop broken and unused is_valid_state() method X-Git-Tag: debian/0.6.0_git20130314~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b719cd7d9a941e1ad6292105cb034ce6f9c3cc2;p=tools%2Fgit-buildpackage.git Tristate: drop broken and unused is_valid_state() method Signed-off-by: Markus Lehtonen --- diff --git a/gbp/tristate.py b/gbp/tristate.py index 2fd9652..6e26c82 100644 --- a/gbp/tristate.py +++ b/gbp/tristate.py @@ -62,11 +62,6 @@ class Tristate(object): else: return 'off' - @classmethod - def is_valid_state(self, stat): - if state.lower() in self._VALID_NAMES: - return True - @property def state(self): """Get current state"""