[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src GParser.py
From: |
Jason Cater |
Subject: |
gnue/common/src GParser.py |
Date: |
Fri, 12 Apr 2002 00:40:40 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/04/12 00:40:37
Modified files:
common/src : GParser.py
Log message:
code cleanup
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/src/GParser.py.diff?cvsroot=OldCVS&tr1=1.33&tr2=1.34&r1=text&r2=text
Patches:
Index: gnue/common/src/GParser.py
diff -c gnue/common/src/GParser.py:1.33 gnue/common/src/GParser.py:1.34
*** gnue/common/src/GParser.py:1.33 Mon Apr 8 01:51:53 2002
--- gnue/common/src/GParser.py Fri Apr 12 00:40:37 2002
***************
*** 102,111 ****
raise MarkupError, "Error loading %s: not a valid %s definition
(expected: %s, got: %s)" % (xmlFileType,
xmlFileType, rootType, object._type)
! #object.showTree()
!
! for att in attributes.keys():
! object.__dict__[att] = attributes[att]
if initialize:
GDebug.printMesg(10,"Initializing the object tree starting at %s"
%(object))
--- 102,109 ----
raise MarkupError, "Error loading %s: not a valid %s definition
(expected: %s, got: %s)" % (xmlFileType,
xmlFileType, rootType, object._type)
! # Set the object's attributes
! object.__dict__.update(attributes)
if initialize:
GDebug.printMesg(10,"Initializing the object tree starting at %s"
%(object))