diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-22 21:25:28 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-22 21:25:28 -0400 |
commit | b2d5b1a2e3bfa3b907034cf07ed4a173081ce976 (patch) | |
tree | 688e63e749f4a19e615cea6133da5ca5a978bc28 /lab/parser.py | |
parent | 53ba0940b632b6f65efdcb046f0c496caddfbcd7 (diff) | |
download | python-coveragepy-git-b2d5b1a2e3bfa3b907034cf07ed4a173081ce976.tar.gz |
Fix the parser tool so I can see just annotated source files.
--HG--
branch : 4.0
Diffstat (limited to 'lab/parser.py')
-rw-r--r-- | lab/parser.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lab/parser.py b/lab/parser.py index 7eaa9448..4e19d411 100644 --- a/lab/parser.py +++ b/lab/parser.py @@ -54,12 +54,11 @@ class ParserMain(object): def one_file(self, options, filename): """Process just one file.""" - if options.dis or options.chunks: - try: - bp = ByteParser(filename=filename) - except CoverageException as err: - print("%s" % (err,)) - return + try: + bp = ByteParser(filename=filename) + except CoverageException as err: + print("%s" % (err,)) + return if options.dis: print("Main code:") |