diff options
| author | Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> | 2021-09-20 08:49:15 -0400 |
|---|---|---|
| committer | Matt Turner <mattst88@gentoo.org> | 2021-09-20 15:51:52 -0700 |
| commit | bbcd72b5fe85fe9bbca1913f8aa22077d94e75d0 (patch) | |
| tree | 64a38c9e94cad7c800fcd1ca7307632f603e1315 /bin/ekeyword | |
| parent | 55170b5be88df6d5d8f6e07ecb39fc1a86d3426a (diff) | |
| download | gentoolkit-bbcd72b5fe85fe9bbca1913f8aa22077d94e75d0.tar.gz | |
Change tabs to spaces (using autopep8). Also, format repo using black.
The following command was used to change the tabs to spaces:
autopep8 --in-place --select=E101,E11,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E133,E20,E211,E22,E224,E224,E226,E227,E228,E231,E241,E242,E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306,W291,W293,W391 -r .
And then black was run as `black .` on the entire tree
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'bin/ekeyword')
| -rwxr-xr-x | bin/ekeyword | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/ekeyword b/bin/ekeyword index 8767fe3..c45ff5c 100755 --- a/bin/ekeyword +++ b/bin/ekeyword @@ -15,27 +15,27 @@ import os import sys # This block ensures that ^C interrupts are handled quietly. try: - import signal + import signal - def exithandler(signum,frame): - signal.signal(signal.SIGINT, signal.SIG_IGN) - signal.signal(signal.SIGTERM, signal.SIG_IGN) - print() - sys.exit(1) + def exithandler(signum, frame): + signal.signal(signal.SIGINT, signal.SIG_IGN) + signal.signal(signal.SIGTERM, signal.SIG_IGN) + print() + sys.exit(1) - signal.signal(signal.SIGINT, exithandler) - signal.signal(signal.SIGTERM, exithandler) - signal.signal(signal.SIGPIPE, signal.SIG_DFL) + signal.signal(signal.SIGINT, exithandler) + signal.signal(signal.SIGTERM, exithandler) + signal.signal(signal.SIGPIPE, signal.SIG_DFL) except KeyboardInterrupt: - print() - sys.exit(1) + print() + sys.exit(1) from gentoolkit.ekeyword import ekeyword try: - ekeyword.main(sys.argv[1:]) + ekeyword.main(sys.argv[1:]) except KeyboardInterrupt: - print("Aborted.") - sys.exit(130) + print("Aborted.") + sys.exit(130) sys.exit(0) |
