[Python-checkins] python/dist/src/Lib/plat-mac gensuitemodule.py,1.9,1.10

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2003年6月18日 07:17:36 -0700


Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv32671
Modified Files:
	gensuitemodule.py 
Log Message:
An indenting error in the code made it miss some suites that have an application
class.
Index: gensuitemodule.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/gensuitemodule.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** gensuitemodule.py	13 Jun 2003 14:27:35 -0000	1.9
--- gensuitemodule.py	18 Jun 2003 14:17:34 -0000	1.10
***************
*** 531,536 ****
 for k, v in codenamemapper.getall('class'):
 fp.write(" %s : %s,\n" % (`k`, v))
! if k == 'capp':
! application_class = v
 fp.write("}\n")
 
--- 531,536 ----
 for k, v in codenamemapper.getall('class'):
 fp.write(" %s : %s,\n" % (`k`, v))
! if k == 'capp':
! application_class = v
 fp.write("}\n")
 

AltStyle によって変換されたページ (->オリジナル) /