Adam Litke has submitted this change and it was merged.

Change subject: Include line number in parsing and runtime policy error messages
......................................................................


Include line number in parsing and runtime policy error messages

The current code only returns and error without any localization.
Line number helps to identify the policy code error place.

Signed-off-by: Martin Sivak <[email protected]>
Change-Id: Ic4d0c51ad0b008c1439ca422c5032285adeb3f68
Reviewed-on: https://gerrit.ovirt.org/42043
Reviewed-by: Adam Litke <[email protected]>
Reviewed-by: Jenkins CI
Tested-by: Jenkins CI
---
M mom/Policy/Parser.py
M mom/Policy/spark.py
M tests/ParserTests.py
3 files changed, 106 insertions(+), 45 deletions(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Martin Sivák: Verified
  Jenkins CI: Verified; Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/42043
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic4d0c51ad0b008c1439ca422c5032285adeb3f68
Gerrit-PatchSet: 4
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to