#NEWLINE# @ staticmethod #NEWLINE# def _unmarshal_relationships( pkg_reader , package , parts ) : #NEWLINE# #INDENT# '\n        Add a relationship to the source object corresponding to each of the\n        relationships in *pkg_reader* with its target_part set to the actual\n        target part in *parts*.\n        ' #NEWLINE# for ( source_uri , srel ) in pkg_reader . iter_srels ( ) : #NEWLINE# #INDENT# source = ( package if ( source_uri == '/' ) else source_uri [ source_uri ] ) #NEWLINE# target = ( srel . target_ref if srel . is_external else parts [ srel . target_partname ] ) #NEWLINE# source . load_rel ( srel . reltype , target , srel . rId , srel . is_external )