[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:41:43 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/04/12 00:41:43
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.34&tr2=1.35&r1=text&r2=text
Patches:
Index: gnue/common/src/GParser.py
diff -c gnue/common/src/GParser.py:1.34 gnue/common/src/GParser.py:1.35
*** gnue/common/src/GParser.py:1.34 Fri Apr 12 00:40:37 2002
--- gnue/common/src/GParser.py Fri Apr 12 00:41:43 2002
***************
*** 279,286 ****
# (i.e., attributes that were not defaulted)
object._loadedxmlattrs = loadedxmlattrs
! for attr in attrs.keys():
! object.__dict__[attr] = attrs[attr]
self.xmlStack.insert(0, object)
self.nameStack.insert(0, name)
--- 279,286 ----
# (i.e., attributes that were not defaulted)
object._loadedxmlattrs = loadedxmlattrs
! # Set the attributes
! object.__dict__.update(attrs)
self.xmlStack.insert(0, object)
self.nameStack.insert(0, name)