[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7167 - trunk/gnue-common/src/datasources/drivers/DBSIG2
From: |
reinhard |
Subject: |
[gnue] r7167 - trunk/gnue-common/src/datasources/drivers/DBSIG2 |
Date: |
Fri, 11 Mar 2005 07:36:58 -0600 (CST) |
Author: reinhard
Date: 2005-03-11 07:36:58 -0600 (Fri, 11 Mar 2005)
New Revision: 7167
Modified:
trunk/gnue-common/src/datasources/drivers/DBSIG2/RecordSet.py
Log:
Some comments updated.
Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/RecordSet.py
2005-03-11 13:30:15 UTC (rev 7166)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/RecordSet.py
2005-03-11 13:36:58 UTC (rev 7167)
@@ -1,6 +1,9 @@
+# GNU Enterprise Common Library - DBSIG2 DB Driver - RecordSet
#
-# This file is part of GNU Enterprise.
+# Copyright 2001-2005 Free Software Foundation
#
+# This file is part of GNU Enterprise
+#
# GNU Enterprise is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
@@ -16,28 +19,15 @@
# write to the Free Software Foundation, Inc., 59 Temple Place
# - Suite 330, Boston, MA 02111-1307, USA.
#
-# Copyright 2000-2005 Free Software Foundation
-#
-# FILE:
-# _dbsig/DBdriver.py
-#
-# DESCRIPTION:
-"""
-Generic implementation of dbdriver using Python DB-SIG v2
-specification.
-"""
-#
-# NOTES:
-# The classes below are meant to be extended
-#
+# $Id$
__all__ = ['RecordSet']
-from types import *
+import types
-from gnue.common.datasources import GConditions, Exceptions
-from gnue.common.datasources.drivers.Base import RecordSet as BaseRecordSet
from gnue.common.apps import errors
+from gnue.common.datasources import Exceptions
+from gnue.common.datasources.drivers import Base
from string import join
@@ -45,7 +35,7 @@
#
#
#
-class RecordSet(BaseRecordSet):
+class RecordSet(Base.RecordSet):
def _postChanges(self, recordNumber=None):
do = self._parent._dataObject
@@ -75,7 +65,7 @@
# True because a detail-record has pending changes
return
- if isinstance (s, TupleType):
+ if isinstance (s, types.TupleType):
# when useParameters is not set
(statement, parameters) = s
else:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7167 - trunk/gnue-common/src/datasources/drivers/DBSIG2,
reinhard <=