From 6df1ae6ad8f617a79152866a35eb796a3a690a3a Mon Sep 17 00:00:00 2001 From: Mitch Garnaat Date: Wed, 24 Apr 2013 13:59:57 -0700 Subject: [PATCH] Fix typo bug in autoscale tutorial. --- docs/source/autoscale_tut.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/autoscale_tut.rst b/docs/source/autoscale_tut.rst index 1c3a0a1800..86fc529f13 100644 --- a/docs/source/autoscale_tut.rst +++ b/docs/source/autoscale_tut.rst @@ -202,7 +202,7 @@ To retrieve the instances in your autoscale group: >>> conn.get_all_groups(names=['my_group'])[0] >>> instance_ids = [i.instance_id for i in group.instances] >>> reservations = ec2.get_all_instances(instance_ids) ->>> instances = [i for i in reservations for i in r.instances] +>>> instances = [i for r in reservations for i in r.instances] To delete your autoscale group, we first need to shutdown all the instances: