1) add copyright 2) check to make sure that the db object is not None, since "if db" is    false if the database is empty
1) add copyright
2) check to make sure that the db object is not None, since "if db" is
   false if the database is empty

sassoftware/conary,sassoftware/conary,sassoftware/conary,sassoftware/conary,sassoftware/conary