parameters: (self)
docstring: Make sure that self.file_obj gets closed/deleted.
docstring_summary: Make sure that self.file_obj gets closed/deleted.
docstring_tokens: Make sure that self . file_obj gets closed / deleted .
function: def __del__(self):
          """
          Make sure that self.file_obj gets closed/deleted.
          """
          logging.debug("FileType __del__(): Closing/deleting temp file(s)")
          try:
              self.file_obj.close() # Ensures it gets deleted
          except AttributeError:
              pass # Probably never got opened properly (bad file); no big
          try:
              self.original_file.close()
          except AttributeError:
              pass
function_tokens: def __del__ ( self ) : logging . debug ( "FileType __del__(): Closing/deleting temp file(s)" ) try : self . file_obj . close ( ) # Ensures it gets deleted except AttributeError : pass # Probably never got opened properly (bad file); no big try : self . original_file . close ( ) except AttributeError : pass