Fix for AttributeError: 'NoneType' object has no attribute pos in#488
Fix for AttributeError: 'NoneType' object has no attribute pos in#488shyamsubbu wants to merge 1 commit intombj4668:masterfrom
Conversation
…e 81 function emit_depend
1 similar comment
|
@mbj4668 |
|
I don't think that this is the right fix. Note that you can pass --depend-ignore-module ModName to ignore some modules. |
|
Code is crashing as shown below. Like you mentioned even though i did not use "--depend-ignore-module " Traceback (most recent call last): |
Fix for AttributeError: 'NoneType' object has no attribute. PR mbj4668#488
line 81 function emit_depend will throw AttributeError error when m is None
and we reference m.pos.ref