Clean up of ":" in the code

svn: r356
This commit is contained in:
Don Allingham
2001-08-21 22:42:33 +00:00
parent 22307b1bc9
commit 4b4526e97d
8 changed files with 1186 additions and 358 deletions

View File

@@ -731,7 +731,6 @@ def new_database_response(val):
const.marriageEvents = const.initialize_marriage_event_list()
const.familyAttributes = const.initialize_family_attribute_list()
const.familyRelations = const.initialize_family_relation_list()
const.places = []
database.new()
topWindow.set_title("Gramps")
@@ -1761,7 +1760,6 @@ def on_revert_activate(obj):
#-------------------------------------------------------------------------
def revert_query(value):
if value == 0:
const.places = []
const.personalEvents = const.initialize_personal_event_list()
const.personalAttributes = const.initialize_personal_attribute_list()
const.marriageEvents = const.initialize_marriage_event_list()
@@ -2450,9 +2448,6 @@ def load_database(name):
if ntype not in const.personalEvents:
const.personalEvents.append(ntype)
const.places = database.getPlaces()
const.places.sort()
mylist = database.getFamilyEventTypes()
for type in mylist:
ntype = const.display_fevent(type)