diff --git a/.github/workflows/pythonpackage-linux.yml b/.github/workflows/pythonpackage-linux.yml index dc07c9009..05717cf20 100644 --- a/.github/workflows/pythonpackage-linux.yml +++ b/.github/workflows/pythonpackage-linux.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 3 matrix: - python-version: [2.7, 3.6, 3.7] + python-version: [2.7, 3.6, 3.7, 3.8] os: [ubuntu-latest] steps: diff --git a/.github/workflows/pythonpackage-windows.yml b/.github/workflows/pythonpackage-windows.yml index 382219469..b05d7c2ae 100644 --- a/.github/workflows/pythonpackage-windows.yml +++ b/.github/workflows/pythonpackage-windows.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 3 matrix: - python-version: [2.7, 3.6, 3.7] + python-version: [2.7, 3.6, 3.7, 3.8] os: [windows-latest] steps: diff --git a/minio/helpers.py b/minio/helpers.py index fa5c36d25..e0f670195 100644 --- a/minio/helpers.py +++ b/minio/helpers.py @@ -116,7 +116,7 @@ def dump_http(method, url, request_headers, response, output_stream): http_path)) for k, v in list(request_headers.items()): - if k is 'authorization': + if k == 'authorization': # Redact signature header value from trace logs. v = re.sub(r'Signature=([[0-9a-f]+)', 'Signature=*REDACTED*', v) output_stream.write('{0}: {1}\n'.format(k.title(), v))