|
From: <pj...@us...> - 2011-05-01 00:05:26
|
Revision: 7291
http://jython.svn.sourceforge.net/jython/?rev=7291&view=rev
Author: pjenvey
Date: 2011-05-01 00:05:20 +0000 (Sun, 01 May 2011)
Log Message:
-----------
hardcode the rest of the svn keywords
Modified Paths:
--------------
branches/Release_2_5maint/jython/Lib/dbexts.py
branches/Release_2_5maint/jython/Lib/isql.py
branches/Release_2_5maint/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyConnection.java
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyCursor.java
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyExtendedCursor.java
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyStatement.java
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/util/BCP.java
branches/Release_2_5maint/jython/src/com/ziclix/python/sql/zxJDBC.java
branches/Release_2_5maint/jython/src/org/python/modules/cPickle.java
Modified: branches/Release_2_5maint/jython/Lib/dbexts.py
===================================================================
--- branches/Release_2_5maint/jython/Lib/dbexts.py 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/Lib/dbexts.py 2011-05-01 00:05:20 UTC (rev 7291)
@@ -47,7 +47,7 @@
from types import StringType
__author__ = "brian zimmer (bz...@zi...)"
-__version__ = "$Revision$"[11:-2]
+__version__ = "7290"
__OS__ = os.name
Modified: branches/Release_2_5maint/jython/Lib/isql.py
===================================================================
--- branches/Release_2_5maint/jython/Lib/isql.py 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/Lib/isql.py 2011-05-01 00:05:20 UTC (rev 7291)
@@ -5,7 +5,7 @@
for database work.
"""
-__version__ = "$Revision$"[11:-2]
+__version__ = "7290"
class IsqlExit(Exception): pass
Modified: branches/Release_2_5maint/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py
===================================================================
--- branches/Release_2_5maint/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/Lib/test/zxjdbc/test_zxjdbc_dbapi20.py 2011-05-01 00:05:20 UTC (rev 7291)
@@ -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: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyConnection.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyConnection.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyConnection.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -126,10 +126,7 @@
* @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__("__version__", Py.newString("7290"));
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: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyCursor.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyCursor.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyCursor.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -243,10 +243,7 @@
* @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__("__version__", Py.newString("7290"));
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: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyExtendedCursor.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyExtendedCursor.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyExtendedCursor.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -104,7 +104,7 @@
*/
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__("__version__", Py.newString("7290"));
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: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyStatement.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyStatement.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/PyStatement.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -144,10 +144,7 @@
* @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__("__version__", Py.newString("7290"));
// hide from python
dict.__setitem__("classDictInit", null);
Modified: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/util/BCP.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/util/BCP.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/util/BCP.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -148,8 +148,7 @@
* @param dict
*/
static public void classDictInit(PyObject dict) {
-
- dict.__setitem__("__version__", Py.newString("$Revision$").__getslice__(Py.newInteger(11), Py.newInteger(-2), null));
+ dict.__setitem__("__version__", Py.newString("7290"));
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: branches/Release_2_5maint/jython/src/com/ziclix/python/sql/zxJDBC.java
===================================================================
--- branches/Release_2_5maint/jython/src/com/ziclix/python/sql/zxJDBC.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/com/ziclix/python/sql/zxJDBC.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -118,14 +118,10 @@
* @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__("__version__", Py.newString("7290"));
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: branches/Release_2_5maint/jython/src/org/python/modules/cPickle.java
===================================================================
--- branches/Release_2_5maint/jython/src/org/python/modules/cPickle.java 2011-04-30 23:41:10 UTC (rev 7290)
+++ branches/Release_2_5maint/jython/src/org/python/modules/cPickle.java 2011-05-01 00:05:20 UTC (rev 7291)
@@ -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.
|