stripped_string = self.__get_value().split(separator)[self.index_pos]
line produces error:
NameError: global name 'separator' is not defined