Don't import gramps_main until logging is setup.

svn: r9041
This commit is contained in:
Brian Matherly 2007-09-30 02:51:38 +00:00
parent 91f4d3c3be
commit 07a96a7333
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-09-29 Brian Matherly <brian@gramps-project.org>
* src/gramps.py: Don't import gramps_main until logging is setup.
2007-09-29 Benny Malengier <benny.malengier@gramps-project.org> 2007-09-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_ReadXML.py: remove bug: no more creation of objects if bookmark is found with * src/GrampsDb/_ReadXML.py: remove bug: no more creation of objects if bookmark is found with
handle that is not in database. This causes corruption of database! handle that is not in database. This causes corruption of database!

View File

@ -94,7 +94,6 @@ gettext.install("gramps",loc,unicode=1)
# gramps libraries # gramps libraries
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import gramps_main
import gobject import gobject
try: try:
@ -169,6 +168,7 @@ def run():
pass pass
try: try:
import gramps_main
gramps_main.Gramps(args) gramps_main.Gramps(args)
except SystemExit, e: except SystemExit, e:
if e.code: if e.code: