From 54e1682a13277e4a9141b6eba118b44c2c448a35 Mon Sep 17 00:00:00 2001 From: Vadim Markovtsev Date: Fri, 10 Jan 2025 17:33:12 +0100 Subject: [PATCH] Execute CI workflow on any PR Signed-off-by: Vadim Markovtsev --- .github/workflows/push.yml | 4 +--- flogging/flogging.py | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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: