/[gnue]/gnue-common/src/datasources/drivers/gadfly/gadfly/DataObject.py
ViewVC logotype

Diff of /gnue-common/src/datasources/drivers/gadfly/gadfly/DataObject.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jcater, Tue Nov 25 17:01:33 2003 UTC revision 1.3 by jcater, Tue Nov 25 17:21:33 2003 UTC
# Line 33  import string Line 33  import string
33  import sys  import sys
34  from gnue.common.apps import GDebug  from gnue.common.apps import GDebug
35  from gnue.common.datasources import GDataObjects  from gnue.common.datasources import GDataObjects
36  from gnue.common.datasources.drivers.DBSIG2.Driver \  from gnue.common.datasources.drivers import DBSIG2
    import DBSIG2.RecordSet, DBSIG2.ResultSet, DBSIG2.DataObject, \  
           DBSIG2.DataObject_SQL, DBSIG2.DataObject_Object  
   
 try:  
   import gadfly  
 except ImportError, mesg:  
   GDebug.printMesg(1,mesg)  
   print "-"*79  
   print _("\nCould not load gadfly.  For Gadfly support, please install \n") \  
       + _("GadflyB5 1.0.0 pr1 or later from") \  
       + "http://gadfly.sourceforge.net\n"  
   print _("Error:  %s") % mesg  
   print "-"*79  
   sys.exit()  
37    
38    raise "This data driver has not been upgraded to the new format."
39    
40    
41  class Gadfly_RecordSet(DBSIG2.RecordSet):  import gadfly
42    
43    
44    class Gadfly_RecordSet(DBSIG2.RecordSet):
45    pass    pass
46    
47    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26