Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

970269 - making the 'id' attribute of errata references optional, since ... #217

Merged
merged 1 commit into from Jun 4, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py
Expand Up @@ -57,7 +57,9 @@ def process_package_element(element):

def _parse_reference(element):
return {
'id': element.attrib['id'],
# evidence shows that the "id" attribute is sometimes missing, such as
# in a rhel6 repo.
'id': element.attrib.get('id'),
'href': element.attrib['href'],
'type': element.attrib['type'],
'title': element.text,
Expand Down