Issue 4460. Fixed by changing =+ to +=.

svn: r16299
This commit is contained in:
Peter Landgren 2010-12-19 12:03:51 +00:00
parent e0adfcbb7b
commit 58e7af6ddf

View File

@ -291,25 +291,25 @@ class Merge(Tool.Tool,ManagedWindow.ManagedWindow):
birth2.get_date_object())
if value == -1 :
return -1
chance =+ value
chance += value
value = self.date_match(death1.get_date_object(),
death2.get_date_object())
if value == -1 :
return -1
chance =+ value
chance += value
value = self.place_match(birth1.get_place_handle(),
birth2.get_place_handle())
if value == -1 :
return -1
chance =+ value
chance += value
value = self.place_match(death1.get_place_handle(),
death2.get_place_handle())
if value == -1 :
return -1
chance =+ value
chance += value
ancestors = []
self.ancestors_of(p1.get_handle(),ancestors)