From 937932760efb469978ce77de61538ff3d8e9df67 Mon Sep 17 00:00:00 2001
From: Tim Warburton <timwar@caam.rice.edu>
Date: Tue, 1 Nov 2011 23:52:00 -0500
Subject: [PATCH] Fix print_highlighted_code() if pygments is not installed.

---
 loopy/compiled.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loopy/compiled.py b/loopy/compiled.py
index 51dfd86c2..24a851b65 100644
--- a/loopy/compiled.py
+++ b/loopy/compiled.py
@@ -70,7 +70,7 @@ def print_highlighted_code(text):
     try:
         from pygments import highlight
     except ImportError:
-        print compiled.code
+        print text
     else:
         from pygments.lexers import CLexer
         from pygments.formatters import TerminalFormatter
-- 
GitLab