[Python-checkins] CVS: python/dist/src/Lib/distutils/command build_py.py,1.35,1.36

Tim Peters tim_one@users.sourceforge.net
2002年4月04日 14:56:00 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv18060/python/Lib/distutils/command
Modified Files:
	build_py.py 
Log Message:
Convert a pile of obvious "yes/no" functions to return bool.
Index: build_py.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_py.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** build_py.py	1 Feb 2002 09:44:09 -0000	1.35
--- build_py.py	4 Apr 2002 22:55:58 -0000	1.36
***************
*** 191,197 ****
 self.warn("file %s (for module %s) not found" %
 (module_file, module))
! return 0
 else:
! return 1
 
 # check_module ()
--- 191,197 ----
 self.warn("file %s (for module %s) not found" %
 (module_file, module))
! return False
 else:
! return True
 
 # check_module ()

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