Showing 809 of 809 total issues
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NO_SUCH_ROOM, 'no room found for actor.url (room uuid to whisper in)'
Avoid too many return
statements within this function. Open
Open
return False, None
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
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NO_SUCH_ROOM, 'target room %s does not exist' % room_id
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_ALLOWED, 'user {} is not allowed to {} the room'.format(str(user_id), action)
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NO_SUCH_ROOM, 'not allowed to kick super users or global mobs'
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.INVALID_ACL_TYPE, 'invalid acl type "%s"' % acl.object_type
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.INVALID_ACL_VALUE, 'invalid acl value "%s" for type "%s": %s' % \
Avoid too many return
statements within this function. Open
Open
return False, 'session values [%s] not in allowed values [%s]' % (session_values, ','.join(acl_values))
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_BASE64, 'object.content needs to be base64 encoded'
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_ALLOWED, \
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NO_SUCH_CHANNEL, 'no channel found for actor.url (room uuid to whisper in)'
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.MISSING_TARGET_DISPLAY_NAME, 'got blank room name, can not create'
Avoid too many return
statements within this function. Open
Open
return False, ECodes.NOT_BASE64, 'invalid room name, 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 True, str((time-now).seconds)