4273: Error during execution of CLI command (part 2, TestcaseGenerator)

svn: r15991
This commit is contained in:
Doug Blank 2010-10-15 17:03:57 +00:00
parent a84b54901a
commit 07a999f555

View File

@ -66,6 +66,7 @@ class TestcaseGenerator(tool.BatchTool):
LONG = 7
def __init__(self, dbstate, uistate, options_class, name, callback=None):
self.person = None
if dbstate.db.readonly:
return