def request_repr(request, operation=None):
    """ Return string representation of QNetworkRequest suitable for logging """
    method = OPERATION_NAMES.get(operation, '?')
    url = qurl2ascii(request.url())
    return (method, url) % "%s %s"
dataset/ETHPy150Open scrapinghub/splash/splash/qtutils.py/request_repr/swapped operands of `%`