Showing 809 of 809 total issues
Avoid too many return
statements within this function. Open
Open
return False, ECodes.MISSING_ATTACHMENT_CONTENT, 'no content on attachment for object'
Avoid too many return
statements within this function. Open
Open
return True, None, None
Avoid too many return
statements within this function. Open
Open
return True, None, None
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_BASE64, 'object.content is not base64 encoded'
Avoid too many return
statements within this function. Open
Open
return True, None, None
Avoid too many return
statements within this function. Open
Open
return 'room name already exists for the channel'
Avoid too many return
statements within this function. Open
Open
return environ.env.db.get_muted_users_for_room(room_id, encode_response=True)
Avoid too many return
statements within this function. Open
Open
return ''
Avoid too many return
statements within this function. Open
Open
return True, None
Avoid too many return
statements within this function. Open
Open
return True, None, None
Avoid too many return
statements within this function. Open
Open
return False
Avoid too many return
statements within this function. Open
Open
return False, ECodes.ROOM_ALREADY_EXISTS, 'a room with that name already exists'
Avoid too many return
statements within this function. Open
Open
return True, None
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NO_SUCH_USER, 'no such user'
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_ONLINE, 'user is not online'
Avoid too many return
statements within this function. Open
Open
return True, str((time-now).seconds)
Avoid too many return
statements within this function. Open
Open
return _def_keys
Avoid too many return
statements within this function. Open
Open
return False, 'acl "%s" did not validate for target acl "%s": %s' % (
Avoid too many return
statements within this function. Open
Open
return True, None
Avoid too many return
statements within this function. Open
Open
return False, 'rooms are not the same'