Applied a patch from dkg@fifthhorseman.net: py3 compatibility: fix another instance of integer division

- Legacy-Id: 15896
This commit is contained in:
Henrik Levkowetz 2019-01-15 17:50:33 +00:00
parent cb95217b48
commit d19228110c

View file

@ -706,7 +706,7 @@ class Draft():
_debug("B:authors : %s" % str(authors))
last_line = len(self.lines)-1
address_section_pos = last_line/2
address_section_pos = last_line//2
for i in range(last_line//2,last_line):
line = self.lines[i]
if re.search(address_section, line):