database.add_entries() method not considering dict structure

Issue #93 new
dbacc created an issue

Seems like the add_entries method of the database module is not working properly with the structure of CaseInsensitiveOrderedDict.

    def add_entries(self, entries):
        for key, entry in entries:
            self.add_entry(key, entry)

Can be replaced by

    def add_entries(self, entries):
        for key in entries:
            self.add_entry(key, entries[key])

Comments (0)

  1. Log in to comment