Beispiel #1
0
def do_analyze(args, settings, dbh=None):

    if dbh is None:
        dbhandler_func = lambda x=None: get_dbhandler(settings)
    #print(dbh)

    fatools_do_analyze(args, dbhandler_func)
Beispiel #2
0
def do_dbmgr(args, settings, dbh=None):

    if dbh is None:
        dbh = get_dbhandler(settings, initial = args.initdb)
    print(dbh)

    if not rhombus_do_dbmgr(args, settings, dbh):
        cerr('ERR - command unrecognized!')