@classmethod
    def create_wildcard(cls, description, extension):

        if isinstance(extension, basestring):
            pattern = extension

        else:
            pattern = ';'.join(extension)

        return "%s (%s)|%s|" % (description, pattern, pattern)
All nodes in the current cluster state are returned.
dataset/ETHPy150Open enthought/pyface/pyface/i_file_dialog.py/MFileDialog.create_wildcard--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/NodesStateTestsMixin.test_nodes