def _mod_priv_opts(object_type, privileges):
 object_type = object_type.lower()
 privileges = ('' if (privileges is None) else privileges)
 _privs = re.split('\\s?,\\s?', privileges.upper())
 return (object_type, privileges, _privs)

def _mod_priv_opts ( object_type , privileges ) : object_type = object_type . lower ( ) privileges = ( '' if ( privileges is None ) else privileges ) _privs = re . split ( '\\s?,\\s?' , privileges . upper ( ) ) return ( object_type , privileges , _privs )
format options .