[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-idle-dev
Subject:    [Idle-dev] CVS: idle AutoIndent.py,1.3,1.4
From:       elguavas () users ! sourceforge ! net (Stephen M !  Gava)
Date:       2002-01-23 5:15:19
Message-ID: E16TFkl-0000fR-00 () usw-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv2544

Modified Files:
	AutoIndent.py 
Log Message:
fix for python2.2 -Qnew division error,
thanks Tim!


Index: AutoIndent.py
===================================================================
RCS file: /cvsroot/idlefork/idle/AutoIndent.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** AutoIndent.py	2002/01/19 10:37:48	1.3
--- AutoIndent.py	2002/01/23 05:15:17	1.4
***************
*** 463,467 ****
          elif ch == '\t':
              raw = raw + 1
!             effective = (effective / tabwidth + 1) * tabwidth
          else:
              break
--- 463,467 ----
          elif ch == '\t':
              raw = raw + 1
!             effective = (int(effective / tabwidth) + 1) * tabwidth
          else:
              break



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic