commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5011 - trunk/gnue-common/src/datasources


From: jcater
Subject: r5011 - trunk/gnue-common/src/datasources
Date: Fri, 19 Dec 2003 17:08:16 -0600 (CST)

Author: jcater
Date: 2003-12-19 17:08:16 -0600 (Fri, 19 Dec 2003)
New Revision: 5011

Removed:
   trunk/gnue-common/src/datasources/GConnection.py
Log:
removed unused file

Deleted: trunk/gnue-common/src/datasources/GConnection.py
===================================================================
--- trunk/gnue-common/src/datasources/GConnection.py    2003-12-19 23:01:10 UTC 
(rev 5010)
+++ trunk/gnue-common/src/datasources/GConnection.py    2003-12-19 23:08:16 UTC 
(rev 5011)
@@ -1,62 +0,0 @@
-#
-# 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
-# version 2, or (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# Copyright 2000-2003 Free Software Foundation
-#
-# FILE:
-# GConnection.py
-#
-# DESCRIPTION:
-#
-# NOTES:
-#
-
-
-
-# System Init:
-#   +-- GConnections initializes
-#   +-- GParser initializes:
-#     +-- GDataSource loaded
-#   +-- GDataSources Intialized
-#     +-- GConnection.getDataObject()
-#       +--
-#
-class Connection:
-  def __init__(self, connections, name, parameters):
-    self.manager = connections
-    self.parameters = parameters
-    self.name = name
-    
-    self._encoding = 'iso8859-1'  # encoding used by database
-
-    try:
-      self._encoding = gConfig('textEncoding')
-    except:
-      pass
-
-  # Commit changes to the database
-  def commit(self):
-    pass
-
-  # Rollback changes to the database
-  def rollback(self):
-    pass
-
-  # Close the connection to the database backend
-  def close(self):
-    pass





reply via email to

[Prev in Thread] Current Thread [Next in Thread]