This commit is contained in:
Kovid Goyal 2010-01-15 10:04:13 -07:00
commit 1c4abf5222
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ class CatalogPlugin(Plugin):
cli_options = []
def search_sort_db_as_dict(self, db, opts):
def search_sort_db(self, db, opts):
if opts.search_text:
db.search(opts.search_text)
if opts.sort_by:

View File

@ -55,7 +55,7 @@ class CSV_XML(CatalogPlugin):
log(" %s: %s" % (key, opts_dict[key]))
# Get the sorted, filtered database as a dictionary
data = self.search_sort_db_as_dict(db, opts)
data = self.search_sort_db(db, opts)
if not len(data):
log.error("\nNo matching database entries for search criteria '%s'" % opts.search_text)