def get_normalized_parameters(self):
        params = self.parameters
        try:
            # exclude the signature if it exists
            del params['oauth_signature']
        except:
            pass
        key_values = params.items()
        # sort lexicographically, first after key, then after value
        key_values.sort()
        # combine key value pairs in string and escape
        return '&'.join((escape(str(k)), escape(str(v))) % '%s=%s' for k, v in key_values)

    # just uppercases the http method
dataset/ETHPy150Open benadida/helios-server/helios_auth/security/oauth.py/OAuthRequest.get_normalized_parameters/swapped operands of `%`