summary refs log tree commit diff
path: root/synapse/storage/appservice.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/appservice.py')
-rw-r--r--synapse/storage/appservice.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/appservice.py b/synapse/storage/appservice.py
index f84f026b7b..cd15843ba3 100644
--- a/synapse/storage/appservice.py
+++ b/synapse/storage/appservice.py
@@ -51,6 +51,9 @@ class ApplicationService(object):
 
         return True
 
+    def __str__(self):
+        return "ApplicationService: %s" % (self.__dict__,)
+
 
 class ApplicationServiceCache(object):
     """Caches ApplicationServices and provides utility functions on top.
@@ -83,7 +86,6 @@ class ApplicationServiceStore(SQLBaseStore):
     def __init__(self, hs):
         super(ApplicationServiceStore, self).__init__(hs)
         self.cache = ApplicationServiceCache()
-        self.clock = hs.get_clock()
         self._populate_cache()
 
     def unregister_app_service(self, token):