Skip to content
Browse files

fix up when a .bees config file does not exist

  • Loading branch information...
1 parent 1c79975 commit 05be35000bd56e466e785f308355a4b19177d422 @roylines roylines committed with jamesbloomer Feb 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 beeswithmachineguns/bees.py
View
4 beeswithmachineguns/bees.py
@@ -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()
@@ -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.'

0 comments on commit 05be350

Please sign in to comment.
Something went wrong with that request. Please try again.