#2073: Adds a warning (about turning off undo, rather than filling with bogus data), but this is only seen by developers, and at least gives a chance to cancel; probably not worth a special class just to provide proper message
svn: r13233
This commit is contained in:
parent
52d573eba8
commit
9e66f354df
@ -55,7 +55,7 @@ import LdsUtils
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class TestcaseGenerator(Tool.Tool):
|
class TestcaseGenerator(Tool.BatchTool):
|
||||||
NUMERIC = 0
|
NUMERIC = 0
|
||||||
FIRSTNAME = 1
|
FIRSTNAME = 1
|
||||||
FIRSTNAME_FEMALE = 2
|
FIRSTNAME_FEMALE = 2
|
||||||
@ -69,7 +69,10 @@ class TestcaseGenerator(Tool.Tool):
|
|||||||
if dbstate.db.readonly:
|
if dbstate.db.readonly:
|
||||||
return
|
return
|
||||||
|
|
||||||
Tool.Tool.__init__(self, dbstate, options_class, name)
|
Tool.BatchTool.__init__(self, dbstate, options_class, name)
|
||||||
|
|
||||||
|
if self.fail:
|
||||||
|
return
|
||||||
|
|
||||||
self.person_count = 0
|
self.person_count = 0
|
||||||
self.persons_todo = []
|
self.persons_todo = []
|
||||||
|
Loading…
Reference in New Issue
Block a user