summaryrefslogtreecommitdiff
path: root/gbp/tristate.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-11-27 11:25:28 +0200
committerGuido Günther <agx@sigxcpu.org>2012-11-27 18:09:16 +0100
commit4b719cd7d9a941e1ad6292105cb034ce6f9c3cc2 (patch)
tree766327755802c79bc8af4bdb88127400ec4b590c /gbp/tristate.py
parentc9011f78dd2a9c35f9fb5be4e77b08b775d25cc7 (diff)
downloadgit-buildpackage-4b719cd7d9a941e1ad6292105cb034ce6f9c3cc2.tar.gz
git-buildpackage-4b719cd7d9a941e1ad6292105cb034ce6f9c3cc2.tar.bz2
git-buildpackage-4b719cd7d9a941e1ad6292105cb034ce6f9c3cc2.zip
Tristate: drop broken and unused is_valid_state() method
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/tristate.py')
-rw-r--r--gbp/tristate.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/gbp/tristate.py b/gbp/tristate.py
index 2fd9652b..6e26c829 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"""