magnum/magnum/hacking/__init__.py
Eli Qiao de7da996b5 Add hacking rule framework for magnum
This patch adds hacking rule check framework for magnum, and adds first rule:
policy.enforce_wsgi decorator must be the first decorator on a method.

refer this link for why we need this rule.
`https://review.openstack.org/#/c/190140/`

Closes-Bugs: #1465895
Change-Id: If98e47426b391b75755ca0b559aee1baa93b8503
2015-06-17 09:00:06 +08:00

0 lines
Python