diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 15:13:42 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 15:13:42 +0100 |
| commit | 40b340af3650ecbae8465752a368b8669b854f7f (patch) | |
| tree | f6507da6a22f1b51266500187c7779d7320d2103 /miasm2/analysis/debugging.py | |
| parent | c4a5c9ecb06e02426245aed37c8cee8eadc022a6 (diff) | |
| download | miasm-40b340af3650ecbae8465752a368b8669b854f7f.tar.gz miasm-40b340af3650ecbae8465752a368b8669b854f7f.zip | |
PyLint: Debugging: Invalid name
Diffstat (limited to 'miasm2/analysis/debugging.py')
| -rw-r--r-- | miasm2/analysis/debugging.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/miasm2/analysis/debugging.py b/miasm2/analysis/debugging.py index bc422954..61e2ed95 100644 --- a/miasm2/analysis/debugging.py +++ b/miasm2/analysis/debugging.py @@ -446,20 +446,20 @@ class DebugCmd(cmd.Cmd, object): def help_dump(self): print "Dump <addr> [size]. Dump size bytes at addr." - def do_run(self, arg): + def do_run(self, _): self.dbg.run() def help_run(self): print "Launch or continue the current program" - def do_exit(self, s): + def do_exit(self, _): return True - def do_exec(self, l): + def do_exec(self, line): try: - print eval(l) - except Exception, e: - print "*** Error: %s" % e + print eval(line) + except Exception, error: + print "*** Error: %s" % error def help_exec(self): print "Exec a python command." |