Stijn Seghers 9c13798f78
Fix import errors
For Python 2, the lazy importing style uncovered some importing
mistakes. I can't quite figure out how it was working before.
2020-04-28 10:40:34 +12:00

12 lines
255 B
Python

import boto.ec2
from moto.core import BaseBackend
class Ec2InstanceConnectBackend(BaseBackend):
pass
ec2_instance_connect_backends = {}
for region in boto.ec2.regions():
ec2_instance_connect_backends[region.name] = Ec2InstanceConnectBackend()