Show More
@@ -1,22 +1,22 b'' | |||
|
1 | 1 | import pydb |
|
2 | 2 | import IPython.ipapi |
|
3 | 3 | from IPython.genutils import arg_split |
|
4 | 4 | ip = IPython.ipapi.get() |
|
5 | 5 | |
|
6 | 6 | def call_pydb(self, args): |
|
7 | 7 | argl = arg_split(args) |
|
8 | print argl | |
|
8 | # print argl # dbg | |
|
9 | 9 | if ip.IP.has_readline: |
|
10 | 10 | ip.IP.savehist() |
|
11 | 11 | try: |
|
12 |
pydb.runl(*arg |
|
|
12 | pydb.runl(*argl) | |
|
13 | 13 | finally: |
|
14 | 14 | |
|
15 | 15 | if ip.IP.has_readline: |
|
16 | 16 | ip.IP.readline.read_history_file(self.shell.histfile) |
|
17 | 17 | |
|
18 | 18 | ip.expose_magic("pydb",call_pydb) |
|
19 | 19 | |
|
20 | 20 | |
|
21 | 21 | |
|
22 | 22 | No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now