diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 07d84ea..abe409d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,8 +5,6 @@ on: branches: - main pull_request: - branches: - - main env: PROJECT_NAME: flogging @@ -223,4 +221,4 @@ jobs: uses: pypa/gh-action-pypi-publish@master with: user: __token__ - password: ${{ secrets.PYPI_PASS }} \ No newline at end of file + password: ${{ secrets.PYPI_PASS }} diff --git a/flogging/flogging.py b/flogging/flogging.py index 30a66e1..d263bf9 100644 --- a/flogging/flogging.py +++ b/flogging/flogging.py @@ -297,7 +297,6 @@ def ensure_utf8_stream(stream): handler.emit = check_trailing_dot(handler.emit) - def set_context(context): """Assign the logging context - an abstract object - to the current thread.""" try: