Fixed incorrect error message

svn: r13938
This commit is contained in:
Doug Blank 2009-12-29 13:14:15 +00:00
parent 2c6cf26d60
commit b53fda23cb

View File

@ -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()