Show More
@@ -2030,7 +2030,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
2030 | 2030 | |
|
2031 | 2031 | #print 'rng',ranges # dbg |
|
2032 | 2032 | try: |
|
2033 |
lines = self.shell. |
|
|
2033 | lines = self.shell.find_user_code(codefrom, 'r' in opts) | |
|
2034 | 2034 | except (ValueError, TypeError) as e: |
|
2035 | 2035 | print e.args[0] |
|
2036 | 2036 | return |
@@ -2069,7 +2069,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
2069 | 2069 | print 'Operation cancelled.' |
|
2070 | 2070 | return |
|
2071 | 2071 | try: |
|
2072 |
cmds = self.shell. |
|
|
2072 | cmds = self.shell.find_user_code(codefrom, 'r' in opts) | |
|
2073 | 2073 | except (TypeError, ValueError) as e: |
|
2074 | 2074 | print e.args[0] |
|
2075 | 2075 | return |
@@ -2084,7 +2084,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
2084 | 2084 | def magic_pastebin(self, parameter_s = ''): |
|
2085 | 2085 | """Upload code to the 'Lodge it' paste bin, returning the URL.""" |
|
2086 | 2086 | try: |
|
2087 |
code = self.shell. |
|
|
2087 | code = self.shell.find_user_code(parameter_s) | |
|
2088 | 2088 | except (ValueError, TypeError) as e: |
|
2089 | 2089 | print e.args[0] |
|
2090 | 2090 | return |
General Comments 0
You need to be logged in to leave comments.
Login now