For Python 2, the lazy importing style uncovered some importing mistakes. I can't quite figure out how it was working before.
12 lines
255 B
Python
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()
|