#NEWLINE# def _copy_interfaces_info( interfaces ) : #NEWLINE# #INDENT# '\n    Return a dictionary with a copy of each interface attributes in ATTRS\n    ' #NEWLINE# ret = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for interface in interfaces : #NEWLINE# #INDENT# _interface_attrs_cpy = set ( ) #NEWLINE# for attr in ATTRS : #NEWLINE# #INDENT# attr_dict = Hashabledict ( ) #NEWLINE# attr_dict [ attr ] = repr ( interfaces [ ret ] [ attr ] ) #NEWLINE# _interface_attrs_cpy . add ( attr_dict ) #NEWLINE# #UNINDENT# ret [ interface ] = _interface_attrs_cpy #NEWLINE# #UNINDENT# return ret