def __init__(self, noshutdown): threading.Thread.__init__(self) self.spot_creator = RequestSpotClient.RequestSpotClient( options.cnf_list == "test", noshutdown=noshutdown, count=options.client_count)
def __init__(self): threading.Thread.__init__(self) self.spot_creator = RequestSpotClient.RequestSpotClient()
#!/usr/bin/env python # -*- coding: utf-8 -*- import RequestSpotClient #create spot instance requests spot_create = RequestSpotClient.RequestSpotClient(False) spot_create.create_spots()
def __init__(self): threading.Thread.__init__(self) self.spot_creator = RequestSpotClient.RequestSpotClient( options.git_rev, ("test" in options.cnf_list), noshutdown=options.noshutdown, count=options.client_count)