Skip to content

Commit

Permalink
Merge pull request #46 from B2MSolutions/master
Browse files Browse the repository at this point in the history
Fix for issue #45
  • Loading branch information
cosmin committed Feb 23, 2013
2 parents 1c79975 + d5ed35d commit ff7a31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beeswithmachineguns/bees.py
Expand Up @@ -43,7 +43,7 @@ def _read_server_list():
instance_ids = []

if not os.path.isfile(STATE_FILENAME):
return (None, None, None)
return (None, None, None, None)

with open(STATE_FILENAME, 'r') as f:
username = f.readline().strip()
Expand Down Expand Up @@ -78,7 +78,7 @@ def up(count, group, zone, image_id, instance_type, username, key_name):
"""
Startup the load testing server.
"""
existing_username, existing_key_name, zone, instance_ids = _read_server_list()
existing_username, existing_key_name, existing_zone, instance_ids = _read_server_list()

if instance_ids:
print 'Bees are already assembled and awaiting orders.'
Expand Down

0 comments on commit ff7a31c

Please sign in to comment.