Skip to content

Commit

Permalink
fix inheritence hierarchy of DriverManager
Browse files Browse the repository at this point in the history
Change-Id: I4c85d42a800186da4beeac13acd7a07d4223fa90
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
  • Loading branch information
Doug Hellmann committed Sep 13, 2012
1 parent cfb1f11 commit d32fa18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stevedore/driver.py
@@ -1,7 +1,7 @@
from .hook import HookManager
from .named import NamedExtensionManager


class DriverManager(HookManager):
class DriverManager(NamedExtensionManager):
"""Load a single plugin with a given name from the namespace.
:param namespace: The namespace for the entry points.
Expand All @@ -23,9 +23,9 @@ class DriverManager(HookManager):

def __init__(self, namespace, name,
invoke_on_load=False, invoke_args=(), invoke_kwds={}):
super(HookManager, self).__init__(
namespace,
[name],
super(DriverManager, self).__init__(
namespace=namespace,
names=[name],
invoke_on_load=invoke_on_load,
invoke_args=invoke_args,
invoke_kwds=invoke_kwds,
Expand Down

0 comments on commit d32fa18

Please sign in to comment.