def __init__(self, bundle, source_rec, source_file):
        """

        :param bundle:
        :param source_rec:
        :param source_file:
        :return:
        """
        self.bundle = bundle

        self._source = source_rec
        self._file = source_file

        try:
            self.path = self._file.path
        except AttributeError:
            self.path = self._source.name

        self.file_name = self._source.name
def __init__ ( self , bundle , source_rec , source_file ) : self . bundle = bundle self . _source = source_rec self . _file = source_file try : self . path = self . _file . path except AttributeError : self . path = self . _source . name self . file_name = self . _source . name
:param bundle:
        :param source_rec:
        :param source_file:
        :return: