Return-Path: Delivered-To: apmail-xml-batik-dev-archive@xml.apache.org Received: (qmail 96175 invoked by uid 500); 15 Feb 2002 08:01:16 -0000 Mailing-List: contact batik-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: batik-dev@xml.apache.org Delivered-To: mailing list batik-dev@xml.apache.org Received: (qmail 96116 invoked from network); 15 Feb 2002 08:01:16 -0000 Date: Fri, 15 Feb 2002 08:40:57 +0100 From: Philipp Matthias Hahn To: batik-dev@xml.apache.org Subject: [PATCH] JPythonInterpreter Message-ID: <20020215074056.GA2308@titan.lahn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline User-Agent: Mutt/1.3.27i Organization: UUCP-Freunde Lahn e.V. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --TRYliJ5NKNqkz5bu Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! CVS-batik dosn't compile because of an unneeded line of code. Please apply. BYtE Philipp --=20 / / (_)__ __ ____ __ Philipp Hahn / /__/ / _ \/ // /\ \/ / /____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="batik2.diff" Index: JPythonInterpreter.java =================================================================== RCS file: /home/cvspublic/xml-batik/sources/org/apache/batik/script/jpython/JPythonInterpreter.java,v retrieving revision 1.4 diff -u -r1.4 JPythonInterpreter.java --- JPythonInterpreter.java 8 Oct 2001 15:04:39 -0000 1.4 +++ JPythonInterpreter.java 15 Feb 2002 07:39:16 -0000 @@ -47,7 +47,6 @@ public Object evaluate(String script) throws InterpreterException { try { - String str = sbuffer.toString(); interpreter.exec(script); } catch (org.python.core.PyException e) { throw new InterpreterException(e, e.getMessage(), -1, -1); --+QahgC5+KEYLbs62-- --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxsu4gACgkQYPlgoZpUDjkcwgCfexsR9dMrW4PghriibDHn1ayp EKkAnRYQj/eelmLXxfLXrzeWCqubmP/3 =brFL -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--