示例#1
0
 def cleanup(self):
     """ clean up any remaining files """
     print(_("Cleaning up."), file=sys.stderr)
     # remove files in import db subdir after use
     self.dbstate.db.close()
     if self.imp_db_path:
         rm_tempdir(self.imp_db_path)
示例#2
0
 def cleanup(self):
     """ clean up any remaining files """
     print(_("Cleaning up."), file=sys.stderr)
     # remove files in import db subdir after use
     self.dbstate.db.close()
     if self.imp_db_path:
         rm_tempdir(self.imp_db_path)