diff options
author | Devan Franchini <twitch153@gentoo.org> | 2015-07-13 09:33:00 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2015-07-13 09:33:02 -0400 |
commit | 4c08c57f337abba1f6f4fe678bfa2a0cab569b7a (patch) | |
tree | b8d8c190b33309ddcc27269ebed96dc1f152c253 | |
parent | Adds switch on read_db if text is provided (diff) | |
download | layman-4c08c57f337abba1f6f4fe678bfa2a0cab569b7a.tar.gz layman-4c08c57f337abba1f6f4fe678bfa2a0cab569b7a.tar.bz2 layman-4c08c57f337abba1f6f4fe678bfa2a0cab569b7a.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.py | 11 |
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 |