Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace signal.raise_signal with os.kill #95

Closed
wants to merge 3 commits into from

Conversation

zachschubert
Copy link
Contributor

No description provided.

@zachschubert zachschubert force-pushed the schubert/restore-python3.7-compatibility branch from ebbb0dc to b2b6a21 Compare August 9, 2022 18:26
@zachschubert zachschubert reopened this Aug 9, 2022
@@ -151,4 +152,4 @@ def _shutdown(self, signum, *_):
self._component_queue.queue_unbind()
self._connection.close()
signal.signal(signum, 0)
signal.raise_signal(signum)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signal.raise_signal was added in python 3.8

@zachschubert zachschubert force-pushed the schubert/restore-python3.7-compatibility branch 2 times, most recently from 5361996 to a1f04ce Compare August 9, 2022 18:57
@zachschubert zachschubert force-pushed the schubert/restore-python3.7-compatibility branch from a1f04ce to c8fd2d0 Compare August 9, 2022 19:02
@codecov-commenter
Copy link

codecov-commenter commented Aug 9, 2022

Codecov Report

Merging #95 (585a809) into master (78dbcf0) will increase coverage by 0.02%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   68.37%   68.39%   +0.02%     
==========================================
  Files          33       33              
  Lines        1467     1468       +1     
==========================================
+ Hits         1003     1004       +1     
  Misses        464      464              
Impacted Files Coverage Δ
ergo/amqp_invoker.py 30.35% <50.00%> (+0.62%) ⬆️
ergo/version.py 33.33% <100.00%> (ø)
test/integration/utils/__init__.py 80.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@zachschubert zachschubert deleted the schubert/restore-python3.7-compatibility branch August 9, 2022 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants