def _createphotoset(self,myset,primary_photoid):
if not self._connectToFlickr():<EOL><INDENT>print(("<STR_LIT>"%(directory)))<EOL>return False<EOL><DEDENT>logger.debug('<STR_LIT>'%(myset,primary_photoid))<EOL>resp=self.flickr.photosets_create(title=myset,primary_photo_id=primary_photoid)<EOL>if resp.attrib['<STR_LIT>']!='<STR_LIT>':<EOL><INDENT>logger.error("<STR_LIT>",resp.attrib['<STR_LIT>']);<EOL>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Creates a photo set on Flickr