fix flake8 errors

Related: https://pagure.io/koji/issue/3480
This commit is contained in:
Tomas Kopecek 2022-08-29 10:28:28 +02:00
parent a4ae298162
commit 59f7f8642a
3 changed files with 10 additions and 10 deletions

View file

@ -659,8 +659,8 @@ def check_sigmd5(filename):
data = f.read(16)
tag, data_type, offset, count = struct.unpack('!IIII', data)
if tag == 1004: # SIGMD5
assert(data_type == 7) # binary data
assert(count == 16) # 16 bytes of md5
assert (data_type == 7) # binary data
assert (count == 16) # 16 bytes of md5
break
# seek to location of md5
f.seek(o + 8 + indexcount * 16 + offset)