Logo Search packages:      
Sourcecode: ubuntu-dev-tools version File versions  Download package

def ubuntutools::lp::lpapicache::PersonTeam::fetch (   cls,
  person_or_team 
)

Fetch the person or team object identified by 'url' from LP.

Definition at line 422 of file lpapicache.py.

00422                                     :
            '''
            Fetch the person or team object identified by 'url' from LP.
            '''
            if not isinstance(person_or_team, basestring):
                  raise TypeError("Don't know what do with '%r'" % person_or_team)
            cached = cls._cache.get(person_or_team)
            if not cached:
                  cached = PersonTeam(Launchpad.people[person_or_team])
            return cached

      def isLpTeamMember(self, team):


Generated by  Doxygen 1.6.0   Back to index