1) if something goes wrong when attempting to open the databases,    close any open database and drop the lock we acquired 2) check to make sure that the db object is not None, since "if db" is    false if the database is empty 3) initialize self.lockfd to -1, need to add code to verify that the    lockfd is good (task for later)
1) if something goes wrong when attempting to open the databases,
   close any open database and drop the lock we acquired
2) check to make sure that the db object is not None, since "if db" is
   false if the database is empty
3) initialize self.lockfd to -1, need to add code to verify that the
   lockfd is good (task for later)

fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary