4650: Error raised when family tree created with name that already exists

svn: r16631
This commit is contained in:
Michiel Nauta
2011-02-16 18:38:01 +00:00
parent ea81886c51
commit 7c1b26d969
2 changed files with 7 additions and 7 deletions

View File

@@ -339,7 +339,7 @@ class CLIDbManager(object):
name_file.write(new_text)
name_file.close()
except (OSError, IOError), msg:
ERROR(_("Could not rename family tree"),
CLIDbManager.ERROR(_("Could not rename family tree"),
str(msg))
return None, None
return old_text, new_text