From 60c1a4e9f433e616139e0a6a2e1298bd0d9b0364 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Tue, 26 Mar 2013 21:33:49 +0100 Subject: [PATCH] removed contains method --- openlp/core/utils/actions.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/openlp/core/utils/actions.py b/openlp/core/utils/actions.py index 56a6cf76e..fd93b3700 100644 --- a/openlp/core/utils/actions.py +++ b/openlp/core/utils/actions.py @@ -161,12 +161,6 @@ class CategoryList(object): return category raise KeyError(u'Category "%s" does not exist.' % key) - def __contains__(self, item): - """ - Implement the __contains__() method to make this class like a dictionary - """ - return self.has_key(item) - def __len__(self): """ Implement the __len__() method to make this class like a dictionary