Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/freemarker/files: freemarker-jython-2.2.patch
Date: Sat, 01 Mar 2008 02:36:45
Message-Id: E1JVHab-0004HI-R1@stork.gentoo.org
1 ali_bush 08/03/01 02:36:41
2
3 Added: freemarker-jython-2.2.patch
4 Log:
5 Bump freemarker with patch to support latest jython version. see #211503 and #106239
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 dev-java/freemarker/files/freemarker-jython-2.2.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/files/freemarker-jython-2.2.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/files/freemarker-jython-2.2.patch?rev=1.1&content-type=text/plain
13
14 Index: freemarker-jython-2.2.patch
15 ===================================================================
16 diff -Naur src.orig/freemarker/ext/jython/JythonHashModel.java src/freemarker/ext/jython/JythonHashModel.java
17 --- src.orig/freemarker/ext/jython/JythonHashModel.java 2007-04-21 01:06:15.000000000 +1200
18 +++ src/freemarker/ext/jython/JythonHashModel.java 2008-02-29 18:56:57.000000000 +1300
19 @@ -137,7 +137,7 @@
20 {
21 throw new TemplateModelException(e);
22 }
23 - throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__);
24 + throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.getType());
25 }
26
27 /**
28 @@ -157,6 +157,6 @@
29 {
30 throw new TemplateModelException(e);
31 }
32 - throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__);
33 + throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.getType());
34 }
35 }
36
37
38
39 --
40 gentoo-commits@l.g.o mailing list