From 9c8869368ccc7ab6d9cf2edda4739d479056df17 Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 24 Apr 2017 18:16:47 +0200 Subject: Remove PYTHONSTARTUP in end-user scripts --- example/disasm/full.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'example/disasm/full.py') 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") -- cgit 1.4.1