예제 #1
0
파일: middleware.py 프로젝트: veezor/Nimbus
 def __init__(self):
     wizard = models.Wizard.get_instance()
     if wizard.has_completed():
         bacula.unlock_bacula_and_start()
         raise MiddlewareNotUsed("wizard completed")
     self.load_steps()
예제 #2
0
 def finish(self):
     self.completed = True
     self.save()
     bacula.unlock_bacula_and_start()
예제 #3
0
 def __init__(self):
     wizard = models.Wizard.get_instance()
     if wizard.has_completed():
         bacula.unlock_bacula_and_start()
         raise MiddlewareNotUsed("wizard completed")
예제 #4
0
 def finish(self):
     self.completed = True
     self.save()
     bacula.unlock_bacula_and_start()