def _clean_up_user(self, username): user = Visitor.get_by_user_id(username) if user is not None: user.remove_all()