##// END OF EJS Templates
Fix warning message for unregistering AST transformers.
Thomas Kluyver -
Show More
@@ -2691,7 +2691,7 b' class InteractiveShell(SingletonConfigurable):'
2691 try:
2691 try:
2692 node = transformer.visit(node)
2692 node = transformer.visit(node)
2693 except Exception:
2693 except Exception:
2694 warn("AST transformer %r threw an error. It will be unregistered.")
2694 warn("AST transformer %r threw an error. It will be unregistered." % transformer)
2695 self.ast_transformers.remove(transformer)
2695 self.ast_transformers.remove(transformer)
2696
2696
2697 return node
2697 return node
General Comments 0
You need to be logged in to leave comments. Login now