#NEWLINE# def assert_valid_folder_id( self , ident ) : #NEWLINE# #INDENT# if ( ( ' ' in ident ) or ( '/' in ident ) ) : #NEWLINE# #INDENT# raise ValueError ( "Folder ids cannot contain spaces or '/' characters." )