aboutsummaryrefslogtreecommitdiffstats
path: root/delf.py
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-11-09 01:16:43 +0000
committerterminaldweller <devi@terminaldweller.com>2023-11-09 01:16:43 +0000
commit143898301ae86e2cca2ade4088fe63a9b7d84331 (patch)
treecd727b87a0feeab2266990276ea6d0957fc0bc09 /delf.py
parentadded a new option --listdso, fixes #1, formatted code with black (diff)
downloaddelf-143898301ae86e2cca2ade4088fe63a9b7d84331.tar.gz
delf-143898301ae86e2cca2ade4088fe63a9b7d84331.zip
added to pypi
Diffstat (limited to '')
-rwxr-xr-xdelf.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/delf.py b/delf.py
deleted file mode 100755
index 27b574f..0000000
--- a/delf.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/python3
-
-import code
-import signal
-from load import premain, CLIArgParser, SigHandler_SIGINT
-
-
-def main():
- argparser = CLIArgParser()
- if argparser.args.dbg:
- try:
- premain(argparser)
- except Exception as e:
- print(e.__doc__)
- if e.message:
- print(e.message)
- signal.signal(signal.SIGINT, SigHandler_SIGINT)
- variables = globals().copy()
- variables.update(locals())
- shell = code.InteractiveConsole(variables)
- shell.interact(banner="DELF REPL")
- else:
- premain(argparser)
-
-
-if __name__ == "__main__":
- main()