SF.net SVN: jython:[7292] trunk/jython

[email protected] Sun, 01 May 2011 00:13:48 +0000
Newsgroups gmane.comp.lang.jython.cvs
Message-ID <[email protected]>
Revision: 7292
          http://jython.svn.sourceforge.net/jython/?rev=7292&view=rev
Author:   pjenvey
Date:     2011-05-01 00:13:47 +0000 (Sun, 01 May 2011)

Log Message:
-----------
remove the remaining svn keywords

Modified Paths:
--------------
    trunk/jython/Lib/dbexts.py
    trunk/jython/Lib/isql.py
    trunk/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py
    trunk/jython/src/com/ziclix/python/sql/PyConnection.java
    trunk/jython/src/com/ziclix/python/sql/PyCursor.java
    trunk/jython/src/com/ziclix/python/sql/PyExtendedCursor.java
    trunk/jython/src/com/ziclix/python/sql/PyStatement.java
    trunk/jython/src/com/ziclix/python/sql/util/BCP.java
    trunk/jython/src/com/ziclix/python/sql/zxJDBC.java
    trunk/jython/src/org/python/modules/cPickle.java

Modified: trunk/jython/Lib/dbexts.py
===================================================================
--- trunk/jython/Lib/dbexts.py	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/Lib/dbexts.py	2011-05-01 00:13:47 UTC (rev 7292)
@@ -47,8 +47,6 @@
 from types import StringType
 
 __author__ = "brian zimmer ([email protected])"
-__version__ = "$Revision$"[11:-2]
-
 __OS__ = os.name
 
 choose = lambda bool, a, b: (bool and [a] or [b])[0]

Modified: trunk/jython/Lib/isql.py
===================================================================
--- trunk/jython/Lib/isql.py	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/Lib/isql.py	2011-05-01 00:13:47 UTC (rev 7292)
@@ -5,8 +5,6 @@
 for database work.
 """
 
-__version__ = "$Revision$"[11:-2]
-
 class IsqlExit(Exception): pass
 
 class Prompt:

Modified: trunk/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py
===================================================================
--- trunk/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py	2011-05-01 00:13:47 UTC (rev 7292)
@@ -4,9 +4,6 @@
   http://stuartbishop.net/Software/DBAPI20TestSuite/
 """
 
-__rcs_id__  = '$Id$'
-__version__ = '$Revision$'
-
 import dbapi20
 import unittest
 from com.ziclix.python.sql import zxJDBC as zxjdbc

Modified: trunk/jython/src/com/ziclix/python/sql/PyConnection.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/PyConnection.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/PyConnection.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -126,10 +126,6 @@
      * @param dict
      */
     static public void classDictInit(PyObject dict) {
-        PyObject version =
-                Py.newString("$Revision$").__getslice__(Py.newInteger(11),
-                                                               Py.newInteger(-2));
-        dict.__setitem__("__version__", version);
         dict.__setitem__("autocommit", new PyInteger(0));
         dict.__setitem__("close", new ConnectionFunc("close", 0, 0, 0, zxJDBC.getString("close")));
         dict.__setitem__("commit", new ConnectionFunc("commit", 1, 0, 0,

Modified: trunk/jython/src/com/ziclix/python/sql/PyCursor.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/PyCursor.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/PyCursor.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -243,10 +243,6 @@
      * @param dict
      */
     static public void classDictInit(PyObject dict) {
-        PyObject version =
-                Py.newString("$Revision$").__getslice__(Py.newInteger(11),
-                                                               Py.newInteger(-2));
-        dict.__setitem__("__version__", version);
         dict.__setitem__("fetchmany", new CursorFunc("fetchmany", 0, 0, 1, "fetch specified number of rows"));
         dict.__setitem__("close", new CursorFunc("close", 1, 0, "close the cursor"));
         dict.__setitem__("fetchall", new CursorFunc("fetchall", 2, 0, "fetch all results"));

Modified: trunk/jython/src/com/ziclix/python/sql/PyExtendedCursor.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/PyExtendedCursor.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/PyExtendedCursor.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -104,7 +104,6 @@
      */
     static public void classDictInit(PyObject dict) {
         PyCursor.classDictInit(dict);
-        dict.__setitem__("__version__", Py.newString("$Revision$").__getslice__(Py.newInteger(11), Py.newInteger(-2), null));
         dict.__setitem__("tables", new ExtendedCursorFunc("tables", 100, 4, 4, "query for table information"));
         dict.__setitem__("columns", new ExtendedCursorFunc("columns", 101, 4, 4, "query for column information"));
         dict.__setitem__("primarykeys", new ExtendedCursorFunc("primarykeys", 102, 3, 3, "query for primary keys"));

Modified: trunk/jython/src/com/ziclix/python/sql/PyStatement.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/PyStatement.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/PyStatement.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -144,11 +144,6 @@
      * @param dict
      */
     static public void classDictInit(PyObject dict) {
-        PyObject version =
-                Py.newString("$Revision$").__getslice__(Py.newInteger(11),
-                                                               Py.newInteger(-2));
-        dict.__setitem__("__version__", version);
-
         // hide from python
         dict.__setitem__("classDictInit", null);
         dict.__setitem__("statement", null);

Modified: trunk/jython/src/com/ziclix/python/sql/util/BCP.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/util/BCP.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/util/BCP.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -148,8 +148,6 @@
      * @param dict
      */
     static public void classDictInit(PyObject dict) {
-
-        dict.__setitem__("__version__", Py.newString("$Revision$").__getslice__(Py.newInteger(11), Py.newInteger(-2), null));
         dict.__setitem__("bcp", new BCPFunc("bcp", 0, 1, 2, zxJDBC.getString("bcp")));
         dict.__setitem__("batchsize", Py.newString(zxJDBC.getString("batchsize")));
         dict.__setitem__("queuesize", Py.newString(zxJDBC.getString("queuesize")));

Modified: trunk/jython/src/com/ziclix/python/sql/zxJDBC.java
===================================================================
--- trunk/jython/src/com/ziclix/python/sql/zxJDBC.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/com/ziclix/python/sql/zxJDBC.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -118,14 +118,9 @@
      * @param dict
      */
     public static void classDictInit(PyObject dict) {
-        PyObject version =
-                Py.newString("$Revision$").__getslice__(Py.newInteger(11),
-                                                               Py.newInteger(-2));
-
         dict.__setitem__("apilevel", new PyString("2.0"));
         dict.__setitem__("threadsafety", new PyInteger(1));
         dict.__setitem__("paramstyle", new PyString("qmark"));
-        dict.__setitem__("__version__", version);
         dict.__setitem__("Date", new zxJDBCFunc("Date", 1, 3, 3,
                                                 "construct a Date from year, month, day"));
         dict.__setitem__("Time", new zxJDBCFunc("Time", 2, 3, 3,

Modified: trunk/jython/src/org/python/modules/cPickle.java
===================================================================
--- trunk/jython/src/org/python/modules/cPickle.java	2011-05-01 00:05:20 UTC (rev 7291)
+++ trunk/jython/src/org/python/modules/cPickle.java	2011-05-01 00:13:47 UTC (rev 7292)
@@ -350,11 +350,8 @@
      * The doc string
      */
     public static String __doc__ =
-       "Java implementation and optimization of the Python pickle module\n" +
-       "\n" +
-       "$Id$\n";
+       "Java implementation and optimization of the Python pickle module\n";
 
-
     /**
      * The program version.
      */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd