Ejemplo n.º 1
0
 def _remove_file_from_exist(self, file):
     db = ExistDB()
     fname = path.split(file)[-1]
     exist_path= path.join(settings.EXISTDB_ROOT_COLLECTION, fname)
     # tests could remove fixtures, so an exception here is not a problem
     try:
         db.removeDocument(exist_path)
     except ExistDBException, e:
         # any way to determine if error ever needs to be reported?
         pass