You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python2.6.9 ec2 amazon linux free tier
I had to change aws.py to fix a syntax error:
From:
def get_spot_request_dict(conf):
ec2 = get_ec2_conn(conf)
requests = ec2.get_all_spot_instance_requests()
return { sir.id: sir for sir in requests }
To:
def get_spot_request_dict(conf):
ec2 = get_ec2_conn(conf)
sirs = [ sir.id for sir in ec2.get_all_spot_instance_requests() ]
return sirs
The text was updated successfully, but these errors were encountered:
* Remove paracurl. Migrate to python3. Migrate to boto3
* More boto3 updates
* Update setup.py, remove .bak files
* Complete boto3 migration
* Fix boto object parsing
* More python3 updates
* Various fixes
* Minor fixes
* Remove TODO
* Update to AMI with python3 (jamesyonan#2)
Python2.6.9 ec2 amazon linux free tier
I had to change aws.py to fix a syntax error:
From:
def get_spot_request_dict(conf):
ec2 = get_ec2_conn(conf)
requests = ec2.get_all_spot_instance_requests()
return { sir.id: sir for sir in requests }
To:
def get_spot_request_dict(conf):
ec2 = get_ec2_conn(conf)
sirs = [ sir.id for sir in ec2.get_all_spot_instance_requests() ]
return sirs
The text was updated successfully, but these errors were encountered: