gnue-dev
[Top][All Lists]
Advanced

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

[Gnue-dev] GObjects.py - patch


From: Jens Müller
Subject: [Gnue-dev] GObjects.py - patch
Date: Fri, 10 May 2002 22:38:23 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386-debian-linux)

This patch uses a more "sophisticated" default value for iterations.


Index: GObjects.py
===================================================================
RCS file: /cvsroot/gnue/gnue/common/src/GObjects.py,v
retrieving revision 1.36
diff -c -r1.36 GObjects.py
*** GObjects.py 3 May 2002 23:07:18 -0000       1.36
--- GObjects.py 10 May 2002 20:37:26 -0000
***************
*** 83,89 ****
    #
    # phaseInit
    #
!   def phaseInit(self, iterations=5):
      for phase in range(iterations):
        self._phaseInit(phase)
  
--- 83,91 ----
    #
    # phaseInit
    #
!   def phaseInit(self, iterations=None):
!     if (iterations==None):
!       iterations=len(self._inits)
      for phase in range(iterations):
        self._phaseInit(phase)
  

-- 
Please don't CC me on replies!



reply via email to

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