commit-gnue
[Top][All Lists]
Advanced

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

gnue-common/src/definitions GObjects.py


From: Jan Ischebeck
Subject: gnue-common/src/definitions GObjects.py
Date: Wed, 08 Oct 2003 10:27:26 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-common
Branch:         
Changes by:     Jan Ischebeck <address@hidden>  03/10/08 10:27:25

Modified files:
        src/definitions: GObjects.py 

Log message:
        fix the fix: allow GContent objects too.

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

Patches:
Index: gnue-common/src/definitions/GObjects.py
diff -c gnue-common/src/definitions/GObjects.py:1.63 
gnue-common/src/definitions/GObjects.py:1.64
*** gnue-common/src/definitions/GObjects.py:1.63        Wed Oct  8 10:04:29 2003
--- gnue-common/src/definitions/GObjects.py     Wed Oct  8 10:27:23 2003
***************
*** 372,378 ****
  
      if allowAllChildren:
        for child in self._children:
!         rs += child.findChildrenOfType(type,0, 1)
  
      return rs
  
--- 372,381 ----
  
      if allowAllChildren:
        for child in self._children:
!         try:
!           rs += child.findChildrenOfType(type,0, 1)
!         except AttributeError:
!           pass  # not all children will be GObj and support that function
  
      return rs
  




reply via email to

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