diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-08-07 21:13:38 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-07 21:13:38 +0200 |
commit | 1a722e7e516d75885022ff8c14e668d1c8d73d56 (patch) | |
tree | 7d0d943085aac19840db05a0d9911e3a896ad545 | |
parent | port to python 3 (diff) | |
download | javatoolkit-1a722e7e516d75885022ff8c14e668d1c8d73d56.tar.gz javatoolkit-1a722e7e516d75885022ff8c14e668d1c8d73d56.tar.bz2 javatoolkit-1a722e7e516d75885022ff8c14e668d1c8d73d56.zip |
remove a few more headers and add braces around two print functions0.4.0
-rwxr-xr-x | src/py/buildparser | 2 | ||||
-rw-r--r-- | src/py/javatoolkit/__init__.py | 4 | ||||
-rw-r--r-- | src/py/javatoolkit/java/__init__.py | 4 | ||||
-rw-r--r-- | src/py/javatoolkit/parser/buildproperties.py | 2 | ||||
-rw-r--r-- | src/py/javatoolkit/parser/helpers.py | 2 | ||||
-rw-r--r-- | src/py/javatoolkit/parser/manifest.py | 3 | ||||
-rw-r--r-- | 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 <chewi@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 |