[svn r54622] "How this could ever worked..."

--HG--
branch : trunk
This commit is contained in:
fijal 2008-05-10 15:39:39 +02:00
parent a700c261ef
commit 6e99225320
1 changed files with 2 additions and 2 deletions

View File

@ -33,10 +33,10 @@ def itemgen(session, colitems, reporter, keyword=None):
if isinstance(next, stopitems):
try:
next._skipbykeyword(keyword)
yield next
except Skipped:
if session.config.option.keyword_oneshot:
keyword = None
yield next
except Skipped:
excinfo = py.code.ExceptionInfo()
reporter(repevent.SkippedTryiter(excinfo, next))
else: