Remove condition from core
This commit is contained in:
parent
29567cffa4
commit
9a0f9d0fc9
4 changed files with 11 additions and 26 deletions
|
|
@ -18,11 +18,16 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.core.bcall import IResultsCondition, ResultsConditionError
|
||||
|
||||
|
||||
__all__ = ['ResultsCondition', 'ResultsConditionError']
|
||||
|
||||
class IResultsCondition(object):
|
||||
def is_valid(self, obj):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
class ResultsConditionError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class Condition(object):
|
||||
def __init__(self, left, op, right):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue