code: def _getphotosets_forphoto(self,pid):
          
  
          resp=self.flickr.photos_getAllContexts(photo_id=pid)
          if resp.attrib['stat']!='ok':
              logger.error("%s - flickr: photos_getAllContext failed with status: %s",\
                      resp.attrib['stat']);
              return None
  
          lphotosets=[]
          for element in resp.findall('set'):
              lphotosets.append(element.attrib['title'])
  
          logger.debug('%s - belongs to these photosets %s',pid,lphotosets)
  
          return lphotosets
docs: Asks flickr which photosets photo with
          given pid belongs to, returns list of
          photoset names