* [gentoo-commits] proj/layman:master commit in: layman/db_modules/xml_db/
@ 2015-07-13 13:32 Devan Franchini
0 siblings, 0 replies; 2+ messages in thread
From: Devan Franchini @ 2015-07-13 13:32 UTC (permalink / raw
To: gentoo-commits
commit: 4c08c57f337abba1f6f4fe678bfa2a0cab569b7a
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 13:33:00 2015 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 13:33:02 2015 +0000
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=4c08c57f
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.
layman/db_modules/xml_db/xml_db.py | 11 -----------
1 file changed, 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/layman:master commit in: layman/db_modules/xml_db/
@ 2015-07-13 18:48 Devan Franchini
0 siblings, 0 replies; 2+ messages in thread
From: Devan Franchini @ 2015-07-13 18:48 UTC (permalink / raw
To: gentoo-commits
commit: 0bd7450c52401be9b0c9c9ad8fb2e9eff5760e1b
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 18:48:41 2015 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 18:48:41 2015 +0000
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=0bd7450c
xml_db/__init__.py: Modifies function descriptions
layman/db_modules/xml_db/__init__.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/layman/db_modules/xml_db/__init__.py b/layman/db_modules/xml_db/__init__.py
index ad6506c..3a3abd1 100644
--- a/layman/db_modules/xml_db/__init__.py
+++ b/layman/db_modules/xml_db/__init__.py
@@ -15,9 +15,9 @@ module_spec = {
'description': __doc__,
'functions': ['add_new', 'read_db', 'write'],
'func_desc': {
- 'add_new': 'Adds new overlay(s) to database',
- 'read_db': 'Reads the list of registered overlays from config',
- 'write' : 'Writes the list of registered overlay to config',
+ 'add_new': 'Adds overlay(s) from provided database text',
+ 'read_db': 'Reads the list of overlays from database file',
+ 'write' : 'Writes the list of overlays to database file',
},
}
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-13 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 13:32 [gentoo-commits] proj/layman:master commit in: layman/db_modules/xml_db/ Devan Franchini
-- strict thread matches above, loose matches on Subject: below --
2015-07-13 18:48 Devan Franchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox