Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions twisted_trac_plugins/release_macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def _md5(self):
base=self.version.base(), md5="")
filename = path.split('/')[-1]
for entry in lines[3:lines.index(sep)]:
entry = entry.rstrip('\n').split(' ')
if entry[1] == filename:
entry = entry.rstrip('\n').split(' ')
if entry[-1] == filename:
return entry[0]
return ''

Expand Down