Репозитории ALT
S: | 2.3.31-alt1_4jpp11 |
5.1: | 2.3.15-alt2_1jpp5 |
4.1: | 2.3.6-alt1_2jpp1.7 |
4.0: | 2.3.6-alt1_2jpp1.7 |
Группа :: Разработка/Java
Пакет: freemarker
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: freemarker-2.3.13~PyObject.__class__.patch
Скачать
Скачать
diff -Nur freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java freemarker-2.3.13.new/src/freemarker/ext/jython/JythonHashModel.java
--- freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java 2008-05-05 22:56:38.000000000 +0400
+++ freemarker-2.3.13.new/src/freemarker/ext/jython/JythonHashModel.java 2008-07-17 03:19:42.000000000 +0400
@@ -137,7 +137,8 @@
{
throw new TemplateModelException(e);
}
- throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__);
+// throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__);
+ throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object);
}
/**
@@ -157,6 +158,7 @@
{
throw new TemplateModelException(e);
}
- throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__);
+// throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__);
+ throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object);
}
}