Example #1
0
 def post_remove(self, site):
     users = UsersBackend(self.app)
     users.del_user('ghost')
     s = self.app.get_backend(apis.services.IServiceManager)
     s.delete('ghost', 'supervisor')
Example #2
0
 def post_remove(self, site):
     users = UsersBackend(self.app)
     users.del_user('haste')
     s = self.app.get_backend(apis.services.IServiceManager)
     s.delete('haste', 'supervisor')
Example #3
0
 def post_remove(self, name):
     users = UsersBackend(self.app)
     users.del_user('ghost')
     s = apis.orders(self.app).get_interface('supervisor')
     if s:
         s[0].order('del', 'ghost')