Declaration/implementation sections in source code files is allowed to be None. This fixes pytmc summary to not bail in such cases.
I'm sure we'll find similar issues like these as time goes on and more projects are run through the parser. Unless the issue reports get out of hand, I'd rather fix them one-by-one instead of handling such exceptions generically.
Closes pcdshub/ads-deploy#6
Declaration/implementation sections in source code files is allowed to be
None
. This fixespytmc summary
to not bail in such cases.I'm sure we'll find similar issues like these as time goes on and more projects are run through the parser. Unless the issue reports get out of hand, I'd rather fix them one-by-one instead of handling such exceptions generically.