Author bogdan.opanchuk
Recipients bogdan.opanchuk
Date 2009-08-07.09:50:10
SpamBayes Score 6.63087e-08
Marked as misclassified No
Message-id <1249638615.65.0.163009414102.issue6666@psf.upfronthosting.co.za>
In-reply-to
Content
When creating a trace.Trace object or running trace.py one can specify
list of directories to ignore (ignoredirs or --ignore-dir
correspondingly). It is passed to trace.Ignore constructor, which stores
iterator to map(), applied to this list, in self._dirs. So, when
Ignore.names() execution passes to the block "for d in self._dirs:" for
the first time, iterator saves its state (in the end of the list) and
next times the code in this block is completely ignored. The result is
that 'ignoredirs' parameter does not actually work (except for the one
lucky file).

Proposed patch is attached.
History
Date User Action Args
2009-08-07 09:50:15bogdan.opanchuksetrecipients: + bogdan.opanchuk
2009-08-07 09:50:15bogdan.opanchuksetmessageid: <1249638615.65.0.163009414102.issue6666@psf.upfronthosting.co.za>
2009-08-07 09:50:13bogdan.opanchuklinkissue6666 messages
2009-08-07 09:50:12bogdan.opanchukcreate