changeset 7:94b1959b0108

Fix bug if compile fails.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Mon, 24 Sep 2012 10:32:09 +0200
parents ebc6eb06d08e
children 8952a4f7aa95
files codeOptimizer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/codeOptimizer.py	Mon Sep 24 10:31:27 2012 +0200
+++ b/codeOptimizer.py	Mon Sep 24 10:32:09 2012 +0200
@@ -55,7 +55,7 @@
 
 for file in files:
     if not file.worksWithoutModifications():
-        print files[file].path
+        print file.path
         raise SystemExit(file.path  + " does not compile at all")
 
 for file in files: