This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nils.Bruin
Recipients Nils.Bruin, T8y8, r.david.murray
Date 2013-03-25.18:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364234728.91.0.326834076841.issue17526@psf.upfronthosting.co.za>
In-reply-to
Content
The most straightforward change I can think of is to change the line

    if not sourcefile and file[0] + file[-1] != '<>':

to

    if not sourcefile and (not file or file[0] + file[-1] != '<>'):

That solves the problem in the cases I have observed.
History
Date User Action Args
2013-03-25 18:05:28Nils.Bruinsetrecipients: + Nils.Bruin, r.david.murray, T8y8
2013-03-25 18:05:28Nils.Bruinsetmessageid: <1364234728.91.0.326834076841.issue17526@psf.upfronthosting.co.za>
2013-03-25 18:05:28Nils.Bruinlinkissue17526 messages
2013-03-25 18:05:28Nils.Bruincreate