aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/py/eclipse-build.py3
-rwxr-xr-xsrc/py/maven-helper.py6
-rwxr-xr-xsrc/py/xml-rewrite-2.py3
-rwxr-xr-xsrc/py/xml-rewrite-3.py2
-rwxr-xr-xsrc/py/xml-rewrite.py3
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