diff options
author | 2017-08-08 00:56:07 +0200 | |
---|---|---|
committer | 2017-08-08 00:56:07 +0200 | |
commit | a3d76ee426581f537af69825b5348480adea9a3a (patch) | |
tree | dd2bd43f4ffce2f9e98c6068efb80305dead8aa8 | |
parent | clean up INSTALL file (diff) | |
download | javatoolkit-a3d76ee426581f537af69825b5348480adea9a3a.tar.gz javatoolkit-a3d76ee426581f537af69825b5348480adea9a3a.tar.bz2 javatoolkit-a3d76ee426581f537af69825b5348480adea9a3a.zip |
more cleanup
-rwxr-xr-x | src/py/eclipse-build.py | 3 | ||||
-rwxr-xr-x | src/py/maven-helper.py | 6 | ||||
-rwxr-xr-x | src/py/xml-rewrite-2.py | 3 | ||||
-rwxr-xr-x | src/py/xml-rewrite-3.py | 2 | ||||
-rwxr-xr-x | src/py/xml-rewrite.py | 3 |
5 files changed, 1 insertions, 16 deletions
diff --git a/src/py/eclipse-build.py b/src/py/eclipse-build.py index 2f41b3a..ab65307 100755 --- a/src/py/eclipse-build.py +++ b/src/py/eclipse-build.py @@ -15,9 +15,6 @@ from xml.dom.minidom import parse from javatoolkit.java.properties import PropertiesParser -__version__ = "$Revision: 1 $"[11:-2] - - if __name__ == '__main__': usage = "Eclipse Ant Build File writer " + __version__ + "\n" usage += "Copyright 2008 Gentoo Foundation\n" diff --git a/src/py/maven-helper.py b/src/py/maven-helper.py index 108abae..9aa41cc 100755 --- a/src/py/maven-helper.py +++ b/src/py/maven-helper.py @@ -24,11 +24,7 @@ from optparse import OptionParser, make_option from javatoolkit.maven.MavenPom import MavenPom -__version__ = "$Revision: 1.1 $"[11:-2] - - -def main() - +def main(): usage = "XML MAVEN POM MODULE " + __version__ + "\n" usage += "Copyright 2004,2006,2007 Gentoo Foundation\n" usage += "Distributed under the terms of the GNU General Public Lincense v2\n" diff --git a/src/py/xml-rewrite-2.py b/src/py/xml-rewrite-2.py index 2755bb6..5c8aa6b 100755 --- a/src/py/xml-rewrite-2.py +++ b/src/py/xml-rewrite-2.py @@ -26,9 +26,6 @@ from xml.sax.saxutils import quoteattr,escape from optparse import OptionParser, make_option -__version__ = "$Revision: 1.7 $"[11:-2] - - def add_gentoo_classpath(document): matches = document.getElementsByTagName("classpath") gcp = document.createElement("location") diff --git a/src/py/xml-rewrite-3.py b/src/py/xml-rewrite-3.py index 605e927..549443b 100755 --- a/src/py/xml-rewrite-3.py +++ b/src/py/xml-rewrite-3.py @@ -32,8 +32,6 @@ from javatoolkit.xml.DomRewriter import DomRewriter from javatoolkit.xml.SaxRewriter import SaxRewriter -__version__ = "$Revision: 1.7 $"[11:-2] - def main(): usage = "XML Rewrite Python Module Version " + __version__ + "\n" usage += "Copyright 2004,2006,2007 Gentoo Foundation\n" diff --git a/src/py/xml-rewrite.py b/src/py/xml-rewrite.py index 7e1dbc4..6bf8ea2 100755 --- a/src/py/xml-rewrite.py +++ b/src/py/xml-rewrite.py @@ -21,9 +21,6 @@ from optparse import OptionParser, make_option from xml.dom import NotFoundErr -__version__ = "$Revision: 1.6 $"[11:-2] - - class IOWrapper: def __init__(self, object): self.stream = object |