changeset 39:788114f9b5bc

Added get_supported_affiliations() to BackendService.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 31 Oct 2004 21:06:32 +0000
parents c9ddca3cce20
children b9e7b3b6c687
files idavoll/backend.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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):