don't compare int with string (I wonder python doesn't raise)
This commit is contained in:
parent
571bf8574a
commit
3e32c56137
@ -667,7 +667,7 @@ def _check_repo_repo_list(self, prj, repo, arch, pkg, opts, ignore=False):
|
||||
binaries = ET.parse(http_GET(url)).getroot()
|
||||
for bin_ in binaries.findall('binary'):
|
||||
fn = bin_.attrib['filename']
|
||||
mt = bin_.attrib['mtime']
|
||||
mt = int(bin_.attrib['mtime'])
|
||||
result = re.match(r'(.*)-([^-]*)-([^-]*)\.([^-\.]+)\.rpm', fn)
|
||||
if not result:
|
||||
if fn == 'rpmlint.log':
|
||||
|
Loading…
x
Reference in New Issue
Block a user