def get_token(self): if not self.token: if self.get_pth(): self.token = token(self.get_pth()) return self.token
def get_token(self): if not self.token: if self.get_tth(): self.token = token(self.get_tth()) #print "thread get_token: %s" % self.token return self.token