Beispiel #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)
Beispiel #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)