From: Marek Marecki Date: Sun, 30 Jun 2013 21:29:14 +0000 (+0200) Subject: Stuff done X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=488d7ff6179851306dec7e3bd5516dd3bb990669;p=diaspy.git Stuff done --- diff --git a/diaspy/models.py b/diaspy/models.py index e78e82e..72041a5 100644 --- a/diaspy/models.py +++ b/diaspy/models.py @@ -18,6 +18,11 @@ class Aspect(): self.id = id self.name = '' + def getUsers(self): + """Returns list of users who are listed in this aspect. + """ + return [] + def addUser(self, user_id): """Add user to current aspect. diff --git a/diaspy/people.py b/diaspy/people.py index 9377b48..0b38099 100644 --- a/diaspy/people.py +++ b/diaspy/people.py @@ -3,7 +3,7 @@ from diaspy.streams import Outer from diaspy.models import Aspect -class User: +class User(): """This class abstracts a D* user. This object goes around the limitations of current D* API and will extract user data using black magic.