Skip to content
This repository
Browse code

fix up when a .bees config file does not exist

  • Loading branch information...
commit b1f0875f0ab9db3a31035f2448ae671ab56b6462 1 parent 1c79975
James Bloomer authored February 22, 2013 developer committed February 22, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  beeswithmachineguns/bees.py
4  beeswithmachineguns/bees.py
@@ -43,7 +43,7 @@ def _read_server_list():
43 43
     instance_ids = []
44 44
 
45 45
     if not os.path.isfile(STATE_FILENAME):
46  
-        return (None, None, None)
  46
+        return (None, None, None, None)
47 47
 
48 48
     with open(STATE_FILENAME, 'r') as f:
49 49
         username = f.readline().strip()
@@ -78,7 +78,7 @@ def up(count, group, zone, image_id, instance_type, username, key_name):
78 78
     """
79 79
     Startup the load testing server.
80 80
     """
81  
-    existing_username, existing_key_name, zone, instance_ids = _read_server_list()
  81
+    existing_username, existing_key_name, existing_zone, instance_ids = _read_server_list()
82 82
 
83 83
     if instance_ids:
84 84
         print 'Bees are already assembled and awaiting orders.'

0 notes on commit b1f0875

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