def setlocation(self, url, names=None):
        """
        Override the invocation location (url) for service method.
        @param url: A url location.
        @type url: A url.
        @param names:  A list of method names.  None=ALL
        @type names: [str,..]
        """
        for p in self.ports:
            for m in p.methods.values():
                if names is None or names in m.name:
                    m.location = url
dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/wsdl.py/Service.setlocation/swapped operands of `in`