commit: 1a722e7e516d75885022ff8c14e668d1c8d73d56 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Mon Aug 7 19:13:38 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Mon Aug 7 19:13:38 2017 +0000 URL: https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=1a722e7e
remove a few more headers and add braces around two print functions src/py/buildparser | 2 -- src/py/javatoolkit/__init__.py | 4 +--- src/py/javatoolkit/java/__init__.py | 4 +--- src/py/javatoolkit/parser/buildproperties.py | 2 -- src/py/javatoolkit/parser/helpers.py | 2 -- src/py/javatoolkit/parser/manifest.py | 3 --- src/py/javatoolkit/xml/SaxRewriter.py | 2 -- 7 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/py/buildparser b/src/py/buildparser index a7e656d..7af980d 100755 --- a/src/py/buildparser +++ b/src/py/buildparser @@ -5,8 +5,6 @@ # # Licensed under the GNU General Public License, v2 # -# $Header:$ - import os import sys from optparse import OptionParser diff --git a/src/py/javatoolkit/__init__.py b/src/py/javatoolkit/__init__.py index 5d9dcee..77b273b 100644 --- a/src/py/javatoolkit/__init__.py +++ b/src/py/javatoolkit/__init__.py @@ -4,11 +4,9 @@ # Copyright(c) 2004, Gentoo Foundation # # Licensed under the GNU General Public License, v2 -# -# $Header: /var/cvsroot/gentoo-src/javatoolkit/src/javatoolkit/__init__.py,v 1.2 2004/11/08 19:21:52 karltk Exp $ from classpath import * from output import * if __name__ == "__main__": - print "This is not an executable module" + print("This is not an executable module") diff --git a/src/py/javatoolkit/java/__init__.py b/src/py/javatoolkit/java/__init__.py index 20432bd..0e3a32d 100644 --- a/src/py/javatoolkit/java/__init__.py +++ b/src/py/javatoolkit/java/__init__.py @@ -3,8 +3,6 @@ # Copyright(c) 2008, Gentoo Foundation # # Licensed under the GNU General Public License, v2 -# -# $Header: $ if __name__ == "__main__": - print "This is not an executable module" + print("This is not an executable module") diff --git a/src/py/javatoolkit/parser/buildproperties.py b/src/py/javatoolkit/parser/buildproperties.py index a09614d..9a73f78 100644 --- a/src/py/javatoolkit/parser/buildproperties.py +++ b/src/py/javatoolkit/parser/buildproperties.py @@ -3,8 +3,6 @@ # Copyright(c) 2004, Gentoo Foundation # # Licensed under the GNU General Public License, v2 -# -# $Header: $ from .tree import * from . import parser diff --git a/src/py/javatoolkit/parser/helpers.py b/src/py/javatoolkit/parser/helpers.py index b11b08b..c0e1bb3 100644 --- a/src/py/javatoolkit/parser/helpers.py +++ b/src/py/javatoolkit/parser/helpers.py @@ -3,8 +3,6 @@ # Copyright(c) 2004, Gentoo Foundation # # Licensed under the GNU General Public License, v2 -# -# $Header: $ def expand(root, expr, realroot = None): """Evaluates a path expression on a given tree. diff --git a/src/py/javatoolkit/parser/manifest.py b/src/py/javatoolkit/parser/manifest.py index b5a1701..b55a28a 100644 --- a/src/py/javatoolkit/parser/manifest.py +++ b/src/py/javatoolkit/parser/manifest.py @@ -1,8 +1,5 @@ # Copyright(c) 2006, 2008, James Le Cuirot <ch...@aura-online.co.uk> -# # Licensed under the GNU General Public License, v2 -# -# $Header: $ from .tree import * from . import parser diff --git a/src/py/javatoolkit/xml/SaxRewriter.py b/src/py/javatoolkit/xml/SaxRewriter.py index 07528c9..bd6e8de 100644 --- a/src/py/javatoolkit/xml/SaxRewriter.py +++ b/src/py/javatoolkit/xml/SaxRewriter.py @@ -1,8 +1,6 @@ # -*- coding: UTF-8 -*- - # Copyright 2004-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ import os import sys