2018-12-24 16:21:00,855 [GSIL] [CRITICAL] github -> tokens sections error Traceback (most recent call last):


 "E:\git\Git\gsil\gsil\config.py", line 53, in <module>

if ',' in tokens:
TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):


 "cloud-custodian/tools/ops/policylambda.py", line 186, in <module>

main()


 "cloud-custodian/tools/ops/policylambda.py", line 176, in main

policy_lambda = dispatch_render(p, sam)


 "cloud-custodian/tools/ops/policylambda.py", line 137, in dispatch_render

properties = render_func(p, policy_lambda, sam)


 "cloud-custodian/tools/ops/policylambda.py", line 93, in render_config_rule

config_rule = policy_lambda.get_events(None).pop()


 "/usr/local/lib/python3.7/site-packages/c7n/mu.py", line 898, in get_events

ConfigRule(self.policy.data['mode'], session_factory))


 "/usr/local/lib/python3.7/site-packages/c7n/mu.py", line 1589, in __init__

self.session = session_factory()
TypeError: 'NoneType' object is not callable
