diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-04-24 22:25:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-24 22:25:31 +0200 |
| commit | 1741e91897c51934d68826ada137c20721f359cb (patch) | |
| tree | 2e77dc7667347d5fdb498c0489f46ba13c7e055c /example/disasm/full.py | |
| parent | 860aba480c8a71e06154454f2957593856613af2 (diff) | |
| parent | c1ad97620e7d7451905d3a074359afb7035d0116 (diff) | |
| download | miasm-1741e91897c51934d68826ada137c20721f359cb.tar.gz miasm-1741e91897c51934d68826ada137c20721f359cb.zip | |
Merge pull request #540 from commial/refactor/remove-autocomplete
Remove PYTHONSTARTUP in end-user scripts
Diffstat (limited to 'example/disasm/full.py')
| -rw-r--r-- | example/disasm/full.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py index 33903282..3bfb7658 100644 --- a/example/disasm/full.py +++ b/example/disasm/full.py @@ -1,4 +1,3 @@ -import os import logging from argparse import ArgumentParser from pdb import pm @@ -17,10 +16,6 @@ console_handler.setFormatter(logging.Formatter("%(levelname)-5s: %(message)s")) log.addHandler(console_handler) log.setLevel(logging.INFO) -filename = os.environ.get('PYTHONSTARTUP') -if filename and os.path.isfile(filename): - execfile(filename) - parser = ArgumentParser("Disassemble a binary") parser.add_argument('filename', help="File to disassemble") |