New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful ACL parser exception when address fails to parse #72

Closed
jathanism opened this Issue Feb 13, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@jathanism
Member

jathanism commented Feb 13, 2013

In the case where a manual change is made to an access-list and an address fails to parse, this happens:

ACL parse failed: <type 'exceptions.AttributeError'> : TIP instance has no attribute 'negated' 

The exception should be handled properly so the parser doesn't crash and the correct error and line number are returned. This will require a tweak to the trigger.acl.parser.TIP class.

@jathanism

This comment has been minimized.

Member

jathanism commented Feb 13, 2013

Fixed in 2b11346

@jathanism jathanism closed this Feb 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment