When run pyang on the attached example the result is the following error:
Traceback (most recent call last):
File "/usr/local/bin/pyang", line 190, in <module>
run()
File "/usr/local/bin/pyang", line 141, in run
module = ctx.add_module(filename, text)
File "/usr/local/lib/python2.6/dist-packages/pyang/__init__.py", line 64,
in add_module
return self.add_parsed_module(module)
File "/usr/local/lib/python2.6/dist-packages/pyang/__init__.py", line 92,
in add_parsed_module
statements.validate_module(self, module)
File "/usr/local/lib/python2.6/dist-packages/pyang/statements.py", line
79, in validate_module
iterate(module, phase)
File "/usr/local/lib/python2.6/dist-packages/pyang/statements.py", line
74, in iterate
iterate(s, phase)
File "/usr/local/lib/python2.6/dist-packages/pyang/statements.py", line
37, in iterate
res = f(ctx, stmt)
File "/usr/local/lib/python2.6/dist-packages/pyang/statements.py", line
174, in <lambda>
('expand_2', 'augment'):lambda ctx, s: v_expand_2_augment(ctx, s),
File "/usr/local/lib/python2.6/dist-packages/pyang/statements.py", line
1316, in v_expand_2_augment
if (stmt.i_target_node.i_config == False and
AttributeError: 'Statement' object has no attribute 'i_config'
Original issue reported on code.google.com by kur...@gmail.com on 18 Feb 2010 at 10:43
Original issue reported on code.google.com by
kur...@gmail.com
on 18 Feb 2010 at 10:43Attachments: