Пример #1
0
def start():
    client = crane_ec2.Client()
    signal.signal(signal.SIGHUP, huphandler)
    signal.signal(signal.SIGTERM, termhandler)
    creator.set_model(Instance)
    creator.build_queue()
    creator.start_creator(DatabaseManager, client)
Пример #2
0
 def __init__(self, *args, **kwargs):
     super(DropDatabase, self).__init__(*args, **kwargs)
     self._client = crane_ec2.Client()
Пример #3
0
 def __init__(self, *args, **kwargs):
     self._client = crane_ec2.Client()