diff idavoll/backend.py @ 39:788114f9b5bc

Added get_supported_affiliations() to BackendService.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 31 Oct 2004 21:06:32 +0000
parents b65b7ea5c992
children 9685b7e291ef
line wrap: on
line diff
--- a/idavoll/backend.py	Sun Oct 31 16:03:50 2004 +0000
+++ b/idavoll/backend.py	Sun Oct 31 21:06:32 2004 +0000
@@ -144,6 +144,9 @@
         service.MultiService.__init__(self)
         utility.EventDispatcher.__init__(self)
 
+    def get_supported_affiliations(self):
+        return ['none', 'owner', 'outcast', 'publisher']
+
 class NotificationService(service.Service):
 
     def register_notifier(self, observerfn, *args, **kwargs):