Fixed incorrect error message
svn: r13938
This commit is contained in:
parent
2c6cf26d60
commit
b53fda23cb
@ -952,7 +952,7 @@ class DjangoInterface(object):
|
|||||||
family = models.Family.objects.get(handle=parent_family_handle)
|
family = models.Family.objects.get(handle=parent_family_handle)
|
||||||
except:
|
except:
|
||||||
print >> sys.stderr, ("ERROR: Family does not exist: '%s'" %
|
print >> sys.stderr, ("ERROR: Family does not exist: '%s'" %
|
||||||
family_handle)
|
parent_family_handle)
|
||||||
return
|
return
|
||||||
person.parent_families.add(family)
|
person.parent_families.add(family)
|
||||||
person.save()
|
person.save()
|
||||||
|
Loading…
Reference in New Issue
Block a user