From 79ff9e7ea7fbb5c9bd022dd341eb28b68738d074 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 10 Dec 2014 23:04:30 -0800 Subject: [PATCH] Remove the base postfix for engine abstract base class Remove the non-standard pattern of calling the engine base class EngineBase; since it's already obvious that its a base class by it existing in the base engine module. Change-Id: Ia146ec6541ee96aa6a78fa659267d2a69e3b9e97 --- taskflow/engines/action_engine/engine.py | 2 +- taskflow/engines/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taskflow/engines/action_engine/engine.py b/taskflow/engines/action_engine/engine.py index 5a0fc9fb..ffc3a80a 100644 --- a/taskflow/engines/action_engine/engine.py +++ b/taskflow/engines/action_engine/engine.py @@ -42,7 +42,7 @@ def _start_stop(executor): executor.stop() -class ActionEngine(base.EngineBase): +class ActionEngine(base.Engine): """Generic action-based engine. This engine compiles the flow (and any subflows) into a compilation unit diff --git a/taskflow/engines/base.py b/taskflow/engines/base.py index 2c409726..dd477a52 100644 --- a/taskflow/engines/base.py +++ b/taskflow/engines/base.py @@ -25,7 +25,7 @@ from taskflow.utils import misc @six.add_metaclass(abc.ABCMeta) -class EngineBase(object): +class Engine(object): """Base for all engines implementations. :ivar notifier: A notification object that will dispatch events that