[Pythonmac-SIG] py2app trunk buglet

Christopher Barker Chris.Barker at noaa.gov
Fri Jul 23 22:45:49 CEST 2010


I found the following tiny bug in py2app/build_app.py:

near line 475, there is:

         allres = chain(getattr(dist, 'data_files', ()) or (), 

but "chain" was never defined.

A simple:

from itertools import chain

At the top of the file seems to have fixed it.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: py2app_chain_patch.diff
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100723/615f3efb/attachment.ksh>

More information about the Pythonmac-SIG mailing list