#NEWLINE# def next( self ) : #NEWLINE# #INDENT# "Part of the iterator protocol, returns the next plugin.\n\n        Returns:\n          dict -- Dictionary containing a plugin's data.\n\n        Raises:\n          StopIteration -- Raised when there are no plugins left.\n\n        " #NEWLINE# keys = sorted ( self . plugins . keys ( ) ) #NEWLINE# self . iteration_counter += 1 #NEWLINE# if ( self . iteration_counter > len ( keys ) ) : #NEWLINE# #INDENT# raise StopIteration #NEWLINE# #UNINDENT# return self . plugins [ keys [ ( self . iteration_counter - 1 ) ] ]