]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/examples/python/SDStartUp.py
This commit was manufactured by cvs2svn to create tag
[bacula/bacula] / bacula / examples / python / SDStartUp.py
index 8430e4f1ceec5f3ccc128f438973c4e30816a4bd..1f08beda4ca6cd17443106b4f0489b9f755a66e2 100644 (file)
@@ -6,7 +6,7 @@ import sys, bacula
 
 # This is the list of Bacula daemon events that you
 #  can receive.
-class BaculaEvents:
+class BaculaEvents(object):
   def __init__(self):
      # Called here when a new Bacula Events class is
      #  is created. Normally not used 
@@ -45,7 +45,7 @@ bacula.set_events(BaculaEvents()) # register daemon events desired
 """
   There are the Job events that you can receive.
 """
-class JobEvents:
+class JobEvents(object):
   def __init__(self):
      # Called here when you instantiate the Job. Not
      # normally used