#NEWLINE# @ staticmethod #NEWLINE# def get_all( broker = None ) : #NEWLINE# #INDENT# '\n        Get the status for all currently running clusters with the same prefix\n        and secret key.\n        :return: list of type Stat\n        ' #NEWLINE# if ( not broker ) : #NEWLINE# #INDENT# broker = get_broker ( ) #NEWLINE# #UNINDENT# stats = [ ] #NEWLINE# packs = ( broker . get_stats ( '{}:*' . format ( Conf . Q_STAT ) ) or [ ] ) #NEWLINE# for pack in packs : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# stats . append ( signing . SignedPackage . loads ( pack ) ) #NEWLINE# #UNINDENT# except signing . BadSignature : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# #UNINDENT# return stats