Add importing modules instead of classes

This patch removes import of classes and replaces them with import of modules.

Change-Id: Id2502cf96ac7227cf1036cd54a74f3d7acd83479
Closes-Bug: #1594434
This commit is contained in:
Alexandr Stavitskiy
2016-06-21 19:37:01 +03:00
parent e3edc67045
commit cb693e4093
24 changed files with 131 additions and 126 deletions

View File

@@ -17,10 +17,10 @@
# limitations under the License.
#
from enum import Enum
import enum
class Events(Enum):
class Events(enum.Enum):
ALL = '*',
ACTION_PLAN = "action_plan"
TRIGGER_AUDIT = "trigger_audit"