commit-gnue
[Top][All Lists]
Advanced

[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: Sun, 10 Nov 2002 15:35:25 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/11/10 15:35:25

Modified files:
        common/src     : GParser.py 

Log message:
        fixed the buildImportableTags code to work with tags that don't have 
native 'Attributes'

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

Patches:
Index: gnue/common/src/GParser.py
diff -c gnue/common/src/GParser.py:1.48 gnue/common/src/GParser.py:1.49
*** gnue/common/src/GParser.py:1.48     Fri Nov  8 10:55:03 2002
--- gnue/common/src/GParser.py  Sun Nov 10 15:35:25 2002
***************
*** 475,480 ****
--- 475,484 ----
  
         p = copy.deepcopy(elements[key])
         p['BaseClass'] = GImportItem
+        
+        if not p.has_key('Attributes'):
+          p['Attributes'] = {}
+ 
         p['Attributes']['library'] = {
            'Required': 1,
            'Typecast': GTypecast.name }




reply via email to

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