def make_invenio_opener(component=None):
opener = urllib2.build_opener()<EOL>opener.addheaders = [('<STR_LIT>', make_user_agent_string(component))]<EOL>return opener<EOL>
Return an urllib2 opener with the useragent already set in the appropriate
way.