[sudo-commits] sudo changeset 12357:22811794ed46

Todd C. Miller Todd.Miller at sudo.ws
Thu Apr 9 14:41:40 MDT 2020

changeset:	12357:22811794ed46 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/22811794ed46
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Apr 09 10:49:59 2020 -0600

Log Message:
	If the signal.Signals enum is not present, search the dictionary.
	The Signals enum was added in Python 3.5.  If it is not present we
	need to iterate over the dictionary items, looking for signal name
	to number mappings.  Fixes the signal tests with Python 3.4.


 plugins/python/example_conversation.py                                                     |  20 +++++++--
 plugins/python/example_io_plugin.py                                                        |  20 ++++++++--
 plugins/python/regress/testdata/check_example_io_plugin_fails_with_python_backtrace.stdout |   2 +-
 3 files changed, 32 insertions(+), 10 deletions(-)

More information about the sudo-commits mailing list