def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) if self == self.fm.thisdir: try: self.fm.thisfile = self.pointed_obj except AttributeError: pass
def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) if self == self.fm.thisdir: try: self.fm.thisfile = self.pointed_obj except AttributeError: pass
def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) try: if self == self.fm.env.cwd: self.fm.env.cf = self.pointed_obj except: pass
def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) try: if self == self.fm.env.cwd: self.fm.env.cf = self.pointed_obj except: pass
def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) try: if self == self.fm.thisdir: self.fm.thisfile = self.pointed_obj except Exception: pass
def correct_pointer(self): """Make sure the pointer is in the valid range""" Accumulator.correct_pointer(self) try: if self == self.fm.thisdir: self.fm.thisfile = self.pointed_obj except Exception: pass