Exemplo n.º 1
0
 def get_subscribers(self, params):
     try:
         apps = app.read_apps(self.apps_dir)
         return HttpJsonResponse(apps)
     except Exception as e:
         return HttpErrorResponse('Error fetching subscribers: %s' %
                                  (str(e)))
Exemplo n.º 2
0
 def get_subscribers(self, params):
     try:
         apps = app.read_apps(self.apps_dir)
         return HttpJsonResponse(apps)
     except Exception as e:
         return HttpErrorResponse('Error fetching subscribers: %s'
                                  %(str(e)))
Exemplo n.º 3
0
 def get_apps(self):
     self.apps = app.read_apps(self.apps_dir)
     self.apps_set = set(self.apps.keys())
Exemplo n.º 4
0
 def get_apps(self):
     self.apps = app.read_apps(self.apps_dir)
     self.apps_set = set(self.apps.keys())