Skip to content

Commit

Permalink
Inherit base class from object
Browse files Browse the repository at this point in the history
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 <marco.van.wieringen@bareos.com>
  • Loading branch information
sduehr authored and Marco van Wieringen committed Sep 8, 2014
1 parent ac7612e commit 181701c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/filed/BareosFdPluginBaseclass.py
Expand Up @@ -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");
Expand Down

0 comments on commit 181701c

Please sign in to comment.