commit-gnue
[Top][All Lists]
Advanced

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

gnue/reports/src GRLayout.py


From: Jason Cater
Subject: gnue/reports/src GRLayout.py
Date: Wed, 30 Oct 2002 17:45:24 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/10/30 17:45:24

Modified files:
        reports/src    : GRLayout.py 

Log message:
        fixed an infinite loop issue when initializing nested sections

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/GRLayout.py.diff?tr1=1.40&tr2=1.41&r1=text&r2=text

Patches:
Index: gnue/reports/src/GRLayout.py
diff -c gnue/reports/src/GRLayout.py:1.40 gnue/reports/src/GRLayout.py:1.41
*** gnue/reports/src/GRLayout.py:1.40   Sun Oct 20 22:16:02 2002
--- gnue/reports/src/GRLayout.py        Wed Oct 30 17:45:24 2002
***************
*** 148,155 ****
            while curr:
              if curr._name == sec:
                section = curr
                break
!             curr = s._parent.findParentOfType('GRSection')
  
            if section == None:
              raise GRExceptions.SourceOutOfScope, \
--- 148,156 ----
            while curr:
              if curr._name == sec:
                section = curr
+               print "setting section to %s" % curr
                break
!             curr = curr._parent.findParentOfType('GRSection')
  
            if section == None:
              raise GRExceptions.SourceOutOfScope, \




reply via email to

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