From 1aa2c48baf94b17c148d1671be4e86f384b0ffcb Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 12 Oct 2011 17:36:00 +0200 Subject: [PATCH] new style classes Signed-off-by: Nico Schottelius --- lib/cdist/global_explorer.py | 4 +--- lib/cdist/type_explorer.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/cdist/global_explorer.py b/lib/cdist/global_explorer.py index 9929cfd6..8a9b8c73 100644 --- a/lib/cdist/global_explorer.py +++ b/lib/cdist/global_explorer.py @@ -35,12 +35,10 @@ import cdist log = logging.getLogger(__name__) -class GlobalExplorer: +class GlobalExplorer(object): """Execute explorers""" def __init__(self, local_path, remote_path): - self.context = context - self.local_path = local_path self.remote_path = remote_path diff --git a/lib/cdist/type_explorer.py b/lib/cdist/type_explorer.py index 46139ece..7d8df3b2 100644 --- a/lib/cdist/type_explorer.py +++ b/lib/cdist/type_explorer.py @@ -35,7 +35,7 @@ import cdist log = logging.getLogger(__name__) -class Explorer: +class TypeExplorer(object): """Execute explorers""" def __init__(self, context):