Skip to content

Commit

Permalink
Making black formatter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik authored and pdxjohnny committed Jul 24, 2024
1 parent 740f477 commit c7d6e0c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rpmfile/headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
"lemd5_1": 1001,
"pgp": 1002,
"lemd5_2": 1003,
"sigmd5": 1004, #md5 in C code but collides with md5 here
"sigmd5": 1004, # md5 in C code but collides with md5 here
"gpg": 1005,
"pgp5": 1006,
"payloadsize": 1007,
"reservedspace": 1008,
"badsha1_1": 264,
"badsha1_2": 265,
"badsha1_2": 265,
"signature": 267,
"rsaheader": 268,
"md5": 269, #sha1header in C code
"md5": 269, # sha1header in C code
"longsigsize": 270,
"longarchivesize": 271,
"sha256": 273,
Expand All @@ -52,9 +52,9 @@
"badsha1_1": 264,
"badsha1_2": 265,
"pubkeys": 266,
"signature": 267, #dsaheader in C code
"signature": 267, # dsaheader in C code
"rsaheader": 268,
"md5": 269, #sha1header in C code
"md5": 269, # sha1header in C code
"longsigsize": 270,
"longarchivesize": 271,
"sha256": 273,
Expand Down Expand Up @@ -461,9 +461,9 @@ def get_headers(fileobj):
data = fileobj.read(lead.size)
value = lead.unpack(data)

#signature header
# signature header
first_range, first_headers = _readheader(fileobj, True)
#main header
# main header
second_range, second_headers = _readheader(fileobj, False)

first_headers.update(second_headers)
Expand Down

0 comments on commit c7d6e0c

Please sign in to comment.