Disable installation of tests module from command line

This commit is contained in:
Cédric Krier
2009-03-23 11:41:07 +01:00
parent 9db2aa4958
commit 71da7dd9e4
+4 -2
View File
@@ -104,13 +104,15 @@ class ConfigManager(object):
init = {}
if opt.init and self.options.get('db_name'):
for i in opt.init.split(','):
init[i] = 1
if i != 'tests':
init[i] = 1
self.options['init'] = init
update = {}
if opt.update and self.options.get('db_name'):
for i in opt.update.split(','):
update[i] = 1
if i != 'tests':
update[i] = 1
self.options['update'] = update
def load(self):