#NEWLINE# def __init__( self , yaml , pod ) : #NEWLINE# #INDENT# yaml = ( yaml or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . yaml = yaml #NEWLINE# self . flags = yaml . get ( 'flags' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . pod = yaml #NEWLINE# self . grow_version = yaml . get ( 'grow_version' ) #NEWLINE# self . root_path = self . flags . get ( 'root_path' , '' ) . lstrip ( '/' ) . rstrip ( '/' ) #NEWLINE# _default_locale = yaml . get ( 'localization' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . get ( 'default_locale' , None ) #NEWLINE# self . default_locale = locales . Locale . parse ( _default_locale ) #NEWLINE# self . fields = yaml