#NEWLINE# def __addCalendars( self , tree , key = 'dates/calendars' ) : #NEWLINE# #INDENT# ' Loops through all CLDR calendars and adds them ' #NEWLINE# calendars = self . __getStore ( self . __data , 'calendar' ) #NEWLINE# for element in tree . findall ( ( './%s/*' % key ) ) : #NEWLINE# #INDENT# if ( not element . get ( 'draft' ) ) : #NEWLINE# #INDENT# self . __addCalendar ( calendars , tree )