From: <one...@us...> - 2003-02-01 12:22:37
|
Update of /cvsroot/hibernate/Hibernate2 In directory sc8-pr-cvs1:/tmp/cvs-serv29855 Modified Files: indent.py Log Message: applied decode support patch by Simon Harris Index: indent.py =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/indent.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** indent.py 5 Jan 2003 02:11:19 -0000 1.2 --- indent.py 1 Feb 2003 12:22:34 -0000 1.3 *************** *** 18,22 **** tabcount -= begincb ! tabs = '\t' * tabcount if clen>5 and code[0:6] == '} else': --- 18,26 ---- tabcount -= begincb ! extratab = extratab or code[0]=='.' ! ! tabs = '\t' * (tabcount + extratab) ! ! extratab = code[clen-1]==':' or code[clen-1]=='?' if clen>5 and code[0:6] == '} else': |