[Python-checkins]
python/dist/src/Lib/distutils/command build_py.py, 1.44, 1.45
sjoerd at users.sourceforge.net
sjoerd at users.sourceforge.net
Fri Jun 18 16:39:14 EDT 2004
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3170
Modified Files:
build_py.py
Log Message:
If self.packages is None (this can happen, I saw it), return
immediately (since None is not a sequence you can iterate over).
Index: build_py.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_py.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** build_py.py 17 Jun 2004 20:16:19 -0000 1.44
--- build_py.py 18 Jun 2004 20:39:11 -0000 1.45
***************
*** 105,108 ****
--- 105,110 ----
"""Generate list of '(package,src_dir,build_dir,filenames)' tuples"""
data = []
+ if not self.packages:
+ return data
for package in self.packages:
# Locate package source directory
More information about the Python-checkins
mailing list