

def __init__(self, connection=None):
    self.connection = connection
    if (self.connection and hasattr(self.connection, 'region')):
        self.region = connection.region
    else:
        self.region = None

dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/ec2object.py EC2Object.__init__/original