From 181701cd3e092c7c63d2cd8dda589fc3c6303ce9 Mon Sep 17 00:00:00 2001 From: Stephan Duehr Date: Mon, 8 Sep 2014 12:45:10 +0200 Subject: [PATCH] Inherit base class from object By inheriting from object, it becomes a so calles "new style" class in python, which is common nowadays, and also default in python 3.x Signed-off-by: Marco van Wieringen --- src/plugins/filed/BareosFdPluginBaseclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/filed/BareosFdPluginBaseclass.py b/src/plugins/filed/BareosFdPluginBaseclass.py index 2eaeeb528f1..c3357dda9e2 100644 --- a/src/plugins/filed/BareosFdPluginBaseclass.py +++ b/src/plugins/filed/BareosFdPluginBaseclass.py @@ -10,7 +10,7 @@ from bareos_fd_consts import * from os import O_WRONLY, O_CREAT -class BareosFdPluginBaseclass: +class BareosFdPluginBaseclass(object): ''' Bareos python plugin base class ''' def __init__(self, context, plugindef): DebugMessage(context, 100, "Constructor called in module " + __name__ + "\n");