[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src GObjects.py
From: |
James Thompson |
Subject: |
gnue/common/src GObjects.py |
Date: |
Wed, 05 Feb 2003 21:39:13 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: James Thompson <address@hidden> 03/02/05 21:39:13
Modified files:
common/src : GObjects.py
Log message:
added missing debug code
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GObjects.py.diff?tr1=1.53&tr2=1.54&r1=text&r2=text
Patches:
Index: gnue/common/src/GObjects.py
diff -c gnue/common/src/GObjects.py:1.53 gnue/common/src/GObjects.py:1.54
*** gnue/common/src/GObjects.py:1.53 Sat Jan 25 16:41:40 2003
--- gnue/common/src/GObjects.py Wed Feb 5 21:39:13 2003
***************
*** 65,70 ****
--- 65,75 ----
def getParent(self):
return self._parent
+ def printTree(self, indent=0):
+ print " " * indent * 2, self
+ for child in self._children:
+ child.printTree(indent+1)
+
#
# phaseInit
#
***************
*** 429,432 ****
def getClass(self):
raise "Virtual method not implemented"
!
\ No newline at end of file
--- 434,437 ----
def getClass(self):
raise "Virtual method not implemented"
!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src GObjects.py,
James Thompson <=