Don't import gramps_main until logging is setup.
svn: r9041
This commit is contained in:
parent
91f4d3c3be
commit
07a96a7333
@ -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>
|
||||
* 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!
|
||||
|
@ -94,7 +94,6 @@ gettext.install("gramps",loc,unicode=1)
|
||||
# gramps libraries
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gramps_main
|
||||
import gobject
|
||||
|
||||
try:
|
||||
@ -169,6 +168,7 @@ def run():
|
||||
pass
|
||||
|
||||
try:
|
||||
import gramps_main
|
||||
gramps_main.Gramps(args)
|
||||
except SystemExit, e:
|
||||
if e.code:
|
||||
|
Loading…
Reference in New Issue
Block a user