| |
@@ -460,7 +460,8 @@
|
| |
r = requests.get(arch_url, timeout=5)
|
| |
root = ElementTree.fromstring(r.text)
|
| |
ts_elements = root.iter('{http://linux.duke.edu/metadata/repo}timestamp')
|
| |
- arch_ts = max([int(child.text) for child in ts_elements])
|
| |
+ # some instances have float instead of int, so be benevolent here
|
| |
+ arch_ts = max([float(child.text) for child in ts_elements])
|
| |
self.external_repo_ts[arch_url] = arch_ts
|
| |
max_ts = max(max_ts, arch_ts)
|
| |
except Exception:
|
| |
Fixes: https://pagure.io/koji/issue/2783