* src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception

* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
This commit is contained in:
Alex Roitman
2005-03-17 20:33:36 +00:00
parent 7d1e9311e8
commit a384bc20b7
4 changed files with 19 additions and 12 deletions

View File

@@ -154,13 +154,6 @@ documenters = [
translators = _('TRANSLATORS: Translate this to your name in your native language')
#-------------------------------------------------------------------------
#
# custom exception
#
#-------------------------------------------------------------------------
ErrorSchemaInvalid = "GConf schema not properly installed"
#-------------------------------------------------------------------------
#
# Constants