From: Kevin A. <ka...@us...> - 2004-05-09 19:46:45
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20248 Modified Files: debug.py model.py turtle.py Log Message: converted tabs to spaces or deleted rogue lines Index: debug.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/debug.py,v retrieving revision 1.129 retrieving revision 1.130 diff -C2 -d -r1.129 -r1.130 *** debug.py 5 May 2004 03:51:53 -0000 1.129 --- debug.py 9 May 2004 19:46:05 -0000 1.130 *************** *** 100,104 **** self.maxSizeMsgHistory = 29000 ! #self.maxSizeMsgHistory = 0 # Turn off # eventually, the font size should be settable in the user config --- 100,104 ---- self.maxSizeMsgHistory = 29000 ! #self.maxSizeMsgHistory = 0 # Turn off # eventually, the font size should be settable in the user config Index: model.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/model.py,v retrieving revision 1.167 retrieving revision 1.168 diff -C2 -d -r1.167 -r1.168 *** model.py 9 May 2004 18:50:58 -0000 1.167 --- model.py 9 May 2004 19:46:05 -0000 1.168 *************** *** 5,9 **** """ ! import os, sys, copy # some things might work with lesser # versions, but this is a reasonable base --- 5,9 ---- """ ! import os, sys # some things might work with lesser # versions, but this is a reasonable base *************** *** 411,415 **** log.debug('Initializing Background...') self._stack = Stack(self, self.resource) ! bg = self._stack.getBackgrounds()[0] self.showPropertyEditor() --- 411,415 ---- log.debug('Initializing Background...') self._stack = Stack(self, self.resource) ! ## bg = self._stack.getBackgrounds()[0] self.showPropertyEditor() *************** *** 594,598 **** def getBackgrounds( self ) : ! return copy.copy( self.backgrounds ) def getName( self ) : --- 594,599 ---- def getBackgrounds( self ) : ! ## return copy.copy( self.backgrounds ) ! return self.backgrounds def getName( self ) : Index: turtle.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/turtle.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** turtle.py 9 May 2004 16:26:24 -0000 1.17 --- turtle.py 9 May 2004 19:46:05 -0000 1.18 *************** *** 65,69 **** self._invradian = math.pi / (fullcircle * 0.5) ! # illegal syntax, so I used None and the if tests instead #def plot(self, x=self._position[0], y=self._position[1]): def plot(self, x=None, y=None): --- 65,69 ---- self._invradian = math.pi / (fullcircle * 0.5) ! # illegal syntax, so I used None and the if tests instead #def plot(self, x=self._position[0], y=self._position[1]): def plot(self, x=None, y=None): *************** *** 563,567 **** if self._dirty and self._turtleDelay > 0: time.sleep(self._turtleDelay) - #for j in range(1000000): pass # huge delay so we can see the turtle def reset(self): --- 563,566 ---- |