(self, couch_user_id)
return False
Returns True if it removed a user, False otherwise
Returns True if it removed a user, False otherwise
Returns True if it removed a user False otherwise
def remove_user(self, couch_user_id):
        '''
        Returns True if it removed a user, False otherwise
        '''
        if not isinstance(couch_user_id, str):
            couch_user_id = couch_user_id.user_id
        if couch_user_id in self.users:
            for i in range(0, len(self.users)):
                if self.users[i] == couch_user_id:
                    del self.users[i]
                    self.removed_users.add(couch_user_id)
                    return True
        return False
def remove_user ( self , couch_user_id ) : if not isinstance ( couch_user_id , str ) : couch_user_id = couch_user_id . user_id if couch_user_id in self . users : for i in range ( 0 , len ( self . users ) ) : if self . users [ i ] == couch_user_id : del self . users [ i ] self . removed_users . add ( couch_user_id ) return True return False