#NEWLINE# def bridge_get_groups( self ) : #NEWLINE# #INDENT# UDN = self . basicevent . GetMacAddr ( ) . get ( 'PluginUDN' ) #NEWLINE# endDevices = self . bridge . GetEndDevices ( DevUDN = endDevices , ReqListType = 'PAIRED_LIST' ) #NEWLINE# endDeviceList = et . fromstring ( endDevices . get ( 'DeviceLists' ) ) #NEWLINE# for group in endDeviceList . iter ( 'GroupInfo' ) : #NEWLINE# #INDENT# if ( self . group_name ( group ) in self . Groups ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . Groups [ self . group_name ( group ) ] = group #NEWLINE# #UNINDENT# #UNINDENT# return self . Groups