From db863c97469bfcf34645e5a2dab6d37cafb9a47e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 27 Aug 2006 07:30:59 +0000 Subject: [PATCH] 2006-08-27 Alex Roitman * src/plugins/TestcaseGenerator.py: Bring somewhat up to date. * NEWS: New release name. svn: r7274 --- gramps2/ChangeLog | 4 ++++ gramps2/NEWS | 4 ++-- gramps2/src/plugins/TestcaseGenerator.py | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 819954ae7..c6c2e6fad 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-08-27 Alex Roitman + * src/plugins/TestcaseGenerator.py: Bring somewhat up to date. + * NEWS: New release name. + 2006-08-26 Alex Roitman * src/GrampsLogger/_ErrorReportAssistant.py (__init__): Properly call Assistant. diff --git a/gramps2/NEWS b/gramps2/NEWS index fb12a5aec..5522dab03 100644 --- a/gramps2/NEWS +++ b/gramps2/NEWS @@ -1,10 +1,10 @@ -Version 2.1.95 -- the "" release +Version 2.1.95 -- the "Listen! I can't give it to you now. It says, 'in the event of death'. Uh. Oh! Ah. Ah. Eh." release * New Media Manager tool. * Support for attributes in events and event references; Support for AGE and AGENCY tags in GEDCOM. * New Media Manager tool: advanced batch operations on media objects/files * Verification tool displays disconnected people -* Bug fixes +* Lots of bug fixes Version 2.1.91 -- the "Strange women lying in ponds distributing swords is no basis for a system of government" release diff --git a/gramps2/src/plugins/TestcaseGenerator.py b/gramps2/src/plugins/TestcaseGenerator.py index ef0ee0d00..7b331716f 100644 --- a/gramps2/src/plugins/TestcaseGenerator.py +++ b/gramps2/src/plugins/TestcaseGenerator.py @@ -51,6 +51,7 @@ import RelLib from PluginUtils import Tool, register_tool import const import Utils +import LdsUtils from QuestionDialog import ErrorDialog from DateHandler import parser as _dp from DateHandler import displayer as _dd @@ -1206,8 +1207,8 @@ class TestcaseGenerator(Tool.Tool): e = RelLib.Event() self.fill_object(e) e.set_type( type) - if randint(0,1) == 1: - e.set_cause( self.rand_text(self.SHORT)) + #if randint(0,1) == 1: + # e.set_cause( self.rand_text(self.SHORT)) if randint(0,1) == 1: e.set_description( self.rand_text(self.LONG)) if randint(0,1) == 1: