Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix repomd.xml parsing with an empty revision tag
The NSA SIMP 5.1.X repodata contains a <revision /> tag which busts sync with the following splat: Downloading metadata from https://dl.bintray.com/simp/5.1.X/. Starting new HTTPS connection (1): dl.bintray.com Parsing metadata. sync failed Traceback (most recent call last): File ".../sync.py", line 142, in run metadata_files = self.get_metadata() File ".../sync.py", line 226, in get_metadata metadata_files.parse_repomd() File ".../metadata.py", line 165, in parse_repomd self.revision = int(element.text) TypeError: int() argument must be a string or a number, not 'NoneType' closes #710 https://pulp.plan.io/issues/1263
- Loading branch information