about summary refs log tree commit diff stats
path: root/miasm2/analysis/debugging.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-02-16 15:13:42 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-02-16 15:13:42 +0100
commit40b340af3650ecbae8465752a368b8669b854f7f (patch)
treef6507da6a22f1b51266500187c7779d7320d2103 /miasm2/analysis/debugging.py
parentc4a5c9ecb06e02426245aed37c8cee8eadc022a6 (diff)
downloadmiasm-40b340af3650ecbae8465752a368b8669b854f7f.tar.gz
miasm-40b340af3650ecbae8465752a368b8669b854f7f.zip
PyLint: Debugging: Invalid name
Diffstat (limited to 'miasm2/analysis/debugging.py')
-rw-r--r--miasm2/analysis/debugging.py12
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."