Skip to content

Commit

Permalink
fix multi_line_specials error
Browse files Browse the repository at this point in the history
caused by e.g. test_prefilter/test_issue114
  • Loading branch information
ivanov committed Jul 3, 2010
1 parent 9a611b3 commit 8d86d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/prefilter.py
Expand Up @@ -695,7 +695,7 @@ def check(self, line_info):
return None

# We have a likely magic method. Make sure we should actually call it.
if line_info.continue_prompt and not self.shell.multi_line_specials:
if line_info.continue_prompt and not self.prefilter_manager.multi_line_specials:
return None

head = line_info.ifun.split('.',1)[0]
Expand Down

2 comments on commit 8d86d57

@fperez
Copy link

@fperez fperez commented on 8d86d57 Jul 15, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference, you can use "Closes ipython#114" and GH will automatically link the commit and bug, and close the bug itself.

Thanks!

@ivanov
Copy link
Owner Author

@ivanov ivanov commented on 8d86d57 Jul 18, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to know, Fernando, except that this fix does no close that issue, it simply makes that issue's test run (and at the moment, fail) instead of throw an error.

Please sign in to comment.