Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def THRIFT_CONSTRUCTOR():
return databases.factory(ARGS.database, ARGS.local, JOBS,
thrift_server=ARGS.thrift_server, thrift_port=ARGS.thrift_port,
redis_host=ARGS.redis_host, redis_port=ARGS.redis_port)
for x in range(16):
def THRIFT_CONSTRUCTOR():
return databases.factory(args.database, True, jobs,
thrift_server=args.thrift_server, thrift_port=args.thrift_port,
redis_host=args.redis_host, redis_port=args.redis_port)
args.func(args, jobs)