Victor G. Vasilyev 19f29ac
diff -Nur freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java freemarker-2.3.13.new/src/freemarker/ext/jython/JythonHashModel.java
Victor G. Vasilyev 19f29ac
--- freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java	2008-05-05 22:56:38.000000000 +0400
Victor G. Vasilyev 19f29ac
+++ freemarker-2.3.13.new/src/freemarker/ext/jython/JythonHashModel.java	2008-07-17 03:19:42.000000000 +0400
Victor G. Vasilyev 19f29ac
@@ -137,7 +137,8 @@
Victor G. Vasilyev 19f29ac
         {
Victor G. Vasilyev 19f29ac
             throw new TemplateModelException(e);
Victor G. Vasilyev 19f29ac
         }
Victor G. Vasilyev 19f29ac
-        throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__);
Victor G. Vasilyev 19f29ac
+//        throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__);
Victor G. Vasilyev 19f29ac
+        throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object);
Victor G. Vasilyev 19f29ac
     }
Victor G. Vasilyev 19f29ac
 
Victor G. Vasilyev 19f29ac
     /**
Victor G. Vasilyev 19f29ac
@@ -157,6 +158,7 @@
Victor G. Vasilyev 19f29ac
         {
Victor G. Vasilyev 19f29ac
             throw new TemplateModelException(e);
Victor G. Vasilyev 19f29ac
         }
Victor G. Vasilyev 19f29ac
-        throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__);
Victor G. Vasilyev 19f29ac
+//        throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__);
Victor G. Vasilyev 19f29ac
+        throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object);
Victor G. Vasilyev 19f29ac
     }
Victor G. Vasilyev 19f29ac
 }