aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-07-13 09:33:00 -0400
committerDevan Franchini <twitch153@gentoo.org>2015-07-13 09:33:02 -0400
commit4c08c57f337abba1f6f4fe678bfa2a0cab569b7a (patch)
treeb8d8c190b33309ddcc27269ebed96dc1f152c253
parentAdds switch on read_db if text is provided (diff)
downloadlayman-4c08c57f.tar.gz
layman-4c08c57f.tar.bz2
layman-4c08c57f.zip
xml_db.py: Removes unnecessary __eq__ and __ne__ functions
These functions are in the DbBase class and will continue to be used in that class. As such there's no need for any DBHandler class to include them in their code.
-rw-r--r--layman/db_modules/xml_db/xml_db.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/layman/db_modules/xml_db/xml_db.py b/layman/db_modules/xml_db/xml_db.py
index 6348162..38a19d2 100644
--- a/layman/db_modules/xml_db/xml_db.py
+++ b/layman/db_modules/xml_db/xml_db.py
@@ -86,17 +86,6 @@ class DBHandler(object):
self.output.debug('Initializing XML overlay list handler', 8)
- def __eq__(self, other):
- for key in set(self.overlays.keys()) | set(other.overlays.keys()):
- if self.overlays[key] != other.overlays[key]:
- return False
- return True
-
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
-
def _broken_catalog_hint(self):
this_function_name = sys._getframe().f_code.co_name