new style classes

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-12 17:36:00 +02:00
parent d93d132c05
commit 1aa2c48baf
2 changed files with 2 additions and 4 deletions

View file

@ -35,12 +35,10 @@ import cdist
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
class GlobalExplorer: class GlobalExplorer(object):
"""Execute explorers""" """Execute explorers"""
def __init__(self, local_path, remote_path): def __init__(self, local_path, remote_path):
self.context = context
self.local_path = local_path self.local_path = local_path
self.remote_path = remote_path self.remote_path = remote_path

View file

@ -35,7 +35,7 @@ import cdist
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
class Explorer: class TypeExplorer(object):
"""Execute explorers""" """Execute explorers"""
def __init__(self, context): def __init__(self, context):