commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src definitions/GParser.py schema/s...


From: Jason Cater
Subject: gnue/common/src definitions/GParser.py schema/s...
Date: Fri, 28 Feb 2003 00:49:11 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    03/02/28 00:49:11

Modified files:
        common/src/definitions: GParser.py 
        common/src/schema/scripter: Scripter.py 

Log message:
        fix for schema tools

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/definitions/GParser.py.diff?tr1=1.63&tr2=1.64&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/schema/scripter/Scripter.py.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: gnue/common/src/definitions/GParser.py
diff -c gnue/common/src/definitions/GParser.py:1.63 
gnue/common/src/definitions/GParser.py:1.64
*** gnue/common/src/definitions/GParser.py:1.63 Mon Feb 17 02:32:50 2003
--- gnue/common/src/definitions/GParser.py      Fri Feb 28 00:49:10 2003
***************
*** 282,290 ****
                  % (name, attr) 
              raise MarkupError, tmsg
  
!           except:
              tmsg = _('Error processing <%s> tag [invalid type for "%s" 
attribute; value is "%s"]')\
                  % (name, attr, saxattrs[qattr]) 
              raise MarkupError, tmsg
  
            # If this attribute must be unique, check for duplicates
--- 282,291 ----
                  % (name, attr) 
              raise MarkupError, tmsg
  
!           except StandardError, msg:
              tmsg = _('Error processing <%s> tag [invalid type for "%s" 
attribute; value is "%s"]')\
                  % (name, attr, saxattrs[qattr]) 
+             print msg
              raise MarkupError, tmsg
  
            # If this attribute must be unique, check for duplicates
Index: gnue/common/src/schema/scripter/Scripter.py
diff -c gnue/common/src/schema/scripter/Scripter.py:1.6 
gnue/common/src/schema/scripter/Scripter.py:1.7
*** gnue/common/src/schema/scripter/Scripter.py:1.6     Mon Feb 17 02:32:50 2003
--- gnue/common/src/schema/scripter/Scripter.py Fri Feb 28 00:49:11 2003
***************
*** 77,82 ****
--- 77,86 ----
    SUMMARY = \
       "GNUe Schema Scripter creates SQL files based on GNUe Schema 
Definitions."
  
+   def __init__(self, connections=None):
+     ConfigOptions = {}
+     GClientApp.__init__(self, connections,'schema',ConfigOptions)
+   
    #
    # Run
    #




reply via email to

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