]> granicus.if.org Git - libevent/commit
Resolve variable name issues per PEP8
authorEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 00:13:14 +0000 (17:13 -0700)
committerEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 17:35:46 +0000 (10:35 -0700)
commit2c38d6b11567a1ab1a88259049414843b7e0a104
tree16a4ca5d49757ed601b3ed3e37cc12535139c546
parentf30cc2b04b453dee2a8ccb797332bcf339e16001
Resolve variable name issues per PEP8

Move all logic under `if __name__ == "__main__"` to a `main(..)`
function.

The purpose of this is to not only address flake8/pylint reported issues
with variable names, but also to enable testing of the function in
isolation to ensure the logic acts as desired.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
event_rpcgen.py