def _getphoto_information(self,pid):
if not self._connectToFlickr():<EOL><INDENT>print(("<STR_LIT>"%(directory)))<EOL>return False<EOL><DEDENT>d={}<EOL>logger.debug('<STR_LIT>'%(pid))<EOL>resp=self.flickr.photos_getInfo(photo_id=pid)<EOL>if resp.attrib['<STR_LIT>']!='<STR_LIT>':<EOL><INDENT>logger.error("<STR_LIT>",resp.attrib['<STR_LIT>']);<EOL>return None<EOL><DEDENT>p=resp.find('<STR_LIT>')<EOL>p.attrib['<STR_LIT:title>']=p.find('<STR_LIT:title>').text<EOL>return p.attrib<EOL>
Asks flickr for photo information
        returns dictionary with attributes

        {'dateuploaded': '1383410793',
         'farm': '3',
         'id': '10628709834',
         'isfavorite': '0',
         'license': '0',
         'media': 'photo',
         'originalformat': 'jpg',
         'originalsecret': 'b60f4f675f',
         'rotation': '0',
         'safety_level': '0',
         'secret': 'a4c96e996b',
         'server': '2823',
         'views': '1',
         'title': 'Image title'
         }