Applied a patch from dkg@fifthhorseman.net: py3 compatibility: fix another instance of integer division
- Legacy-Id: 15896
This commit is contained in:
parent
cb95217b48
commit
d19228110c
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue