Exemple #1
0
 def follows(self, user):
     '''Returns True if self follows user, else False'''
     Logger.debug("GET FOLLOW: " + str(self.id()) + " " +
                  str(user.id()))
     follow = Follow.get(self, user)
     if follow:
         Logger.debug("FOLLOW: " + str(follow.followerId()) + " " +
                     str(follow.userId()))
     else:
         Logger.debug("NO FOLLOW");
     return follow != None