Example #1
0
File: grid.py Project: pvh/thegrid
    def getUsers(self):
        uids = []
        users = db.hgetall(self.dbid + ":usr")
        for pid in users:
            uids.append(users[pid])

        return uids
Example #2
0
File: grid.py Project: pvh/thegrid
 def getColors(self):
     return db.hgetall(self.dbid + ":clr")