#NEWLINE# @ register . filter #NEWLINE# def feincms_translated_or_base( pages , language = None ) : #NEWLINE# #INDENT# if ( not hasattr ( pages , '__iter__' ) ) : #NEWLINE# #INDENT# pages = [ page ] #NEWLINE# #UNINDENT# for page in pages : #NEWLINE# #INDENT# ( yield _translate_page_into ( page , language , default = page . get_original_translation ) )