##// END OF EJS Templates
Fixed %pycat to use pycolorize() instead of nonexistent colorize().
vivainio -
Show More
@@ -1,7 +1,7 b''
1 1 # -*- coding: utf-8 -*-
2 2 """Magic functions for InteractiveShell.
3 3
4 $Id: Magic.py 1000 2006-01-10 08:06:04Z fperez $"""
4 $Id: Magic.py 1003 2006-01-11 22:18:56Z vivainio $"""
5 5
6 6 #*****************************************************************************
7 7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -2735,7 +2735,7 b' Defaulting color scheme to \'NoColor\'"""'
2735 2735 to be Python source and will show it with syntax highlighting. """
2736 2736
2737 2737 filename = get_py_filename(parameter_s)
2738 page(self.shell.colorize(file_read(filename)),
2738 page(self.shell.pycolorize(file_read(filename)),
2739 2739 screen_lines=self.shell.rc.screen_length)
2740 2740
2741 2741 # end Magic
General Comments 0
You need to be logged in to leave comments. Login now