changeset 552 | 0d12d79bd42d |
parent 490 | b60bdff41580 |
child 553 | 7d4971eaf863 |
--- a/sbsv2/raptor/python/raptor_make.py Mon Apr 26 09:44:21 2010 +0100 +++ b/sbsv2/raptor/python/raptor_make.py Thu May 13 13:53:03 2010 +0100 @@ -68,7 +68,10 @@ def AnnoFileParseOutput(annofile): """ A generator that extracts log output from an emake annotation file, perform an XML-unescape on it and "yields" it line by line. """ - af = open(annofile, "r") + if isinstance(annofile,str): + af = open(annofile, "r") + else: + af = annofile inOutput = False