def _load_tags(self,directory):
<EOL>_tags='<STR_LIT>'<EOL>try:<EOL><INDENT>fullfile=os.path.join(directory,TAG_FILE)<EOL>ltags=open(fullfile).readline().split('<STR_LIT:U+002C>')<EOL>_tags='''<STR_LIT:U+0020>'''<EOL>for tag in ltags:<EOL><INDENT>_tags+='''<STR_LIT:">'''+tag.strip()+'''<STR_LIT>'''<EOL><DEDENT>_tags=_tags.strip()<EOL><DEDENT>except:<EOL><INDENT>logger.info("<STR_LIT>"%(directory))<EOL><DEDENT>return _tags<EOL>
Loads tags from tag file and return
        as flickr api compatible string