projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9011f7
)
Tristate: drop broken and unused is_valid_state() method
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Tue, 27 Nov 2012 09:25:28 +0000
(11:25 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Tue, 27 Nov 2012 17:09:16 +0000
(18:09 +0100)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/tristate.py
patch
|
blob
|
history
diff --git
a/gbp/tristate.py
b/gbp/tristate.py
index
2fd9652
..
6e26c82
100644
(file)
--- 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"""