commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src GParser.py


From: Arturas Kriukovas
Subject: gnue/common/src GParser.py
Date: Wed, 31 Jul 2002 10:25:56 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Arturas Kriukovas <address@hidden>      02/07/31 10:25:56

Modified files:
        common/src     : GParser.py 

Log message:
        To prevent errors in reports. Will need to rewrite this part when
        [common] section in gnue.conf appears.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GParser.py.diff?tr1=1.42&tr2=1.43&r1=text&r2=text

Patches:
Index: gnue/common/src/GParser.py
diff -c gnue/common/src/GParser.py:1.42 gnue/common/src/GParser.py:1.43
*** gnue/common/src/GParser.py:1.42     Wed Jul 31 10:10:05 2002
--- gnue/common/src/GParser.py  Wed Jul 31 10:25:56 2002
***************
*** 213,221 ****
  
        for qattr in saxattrs.keys():
          attrns, attr = qattr
!         encoding = gConfig('formFontEncoding')
!         if encoding == '':
!             encoding = 'iso8859-1'
  
          # Typecasting, anyone?  If attribute should be int, make it an int
          try:
--- 213,223 ----
  
        for qattr in saxattrs.keys():
          attrns, attr = qattr
!         encoding = 'iso8859-1'  # TODO: fix this when we have [common] section
!         try:                    #       in gnue.conf
!           encoding = gConfig('formFontEncoding')
!         except:
!           pass
  
          # Typecasting, anyone?  If attribute should be int, make it an int
          try:



reply via email to

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