def processSpecialForceHosts(self, url, specialForceHosts): if isSpecialURL(url, specialForceHosts): if '?' in url: url += '&force=1' else: url += '?force=1' return url
def processSpecialForceHosts(self, url, specialForceHosts, force_arg): if isSpecialURL(url, specialForceHosts): if '?' in url: url += '&force=' + force_arg.query_value else: url += '?force=' + force_arg.query_value return url
def processSpecialForceHosts(self, url, specialForceHosts): if isSpecialURL(url, specialForceHosts): if "?" in url: url += "&force=1" else: url += "?force=1" return url
def processSpecialForceHosts(self, url, specialForceHosts, force_arg): if isSpecialURL(url, specialForceHosts): if "?" in url: url += "&force=" + force_arg.query_value else: url += "?force=" + force_arg.query_value return url