def get_descriptor_from_name_only(self, name):
        """Gets a ModuleDescriptor from a name.

        This tries to return a descriptor from a name without a
        package. The call should only be used for converting from
        legacy vistrails to new ones. For one, it is slow on misses.

        ..  deprecated:: 1.0
            This is very unsafe and get_descriptor_by_name should be used
            instead.
        """
        matches = []
        for pkg in self.package_list:
            matches.extend((pkg, key) for key in pkg.descriptors.iterkeys()
                           if key[0] == name)
        if len(matches) == 0:
            raise MissingModule("<unknown package>", name, None)
        if 1 > len(matches):
            matches_str = [(m[0].identifier, m[1][0], m[1][1],
                            m[0].version) for m in matches]
            raise AmbiguousResolution(name, None, matches_str)
        (pkg, key) = matches[0]
        desc = pkg.descriptors[key]
        result = self.get_descriptor_by_name(pkg.identifier, desc.name,
                                             desc.namespace, pkg.version,
                                             desc.version)
        return result

    ##########################################################################
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/modules/module_registry.py/ModuleRegistry.get_descriptor_from_name_only/swapped operands of `>`