Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for issue #45 #46

Merged
merged 3 commits into from

4 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 22, 2013
  1. @roylines @jamesbloomer

    fix up when a .bees config file does not exist

    roylines authored jamesbloomer committed
  2. @jamesbloomer

    fix up when a .bees config file does not exist

    jamesbloomer authored developer committed
This page is out of date. Refresh to see the latest.
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.'
Something went wrong with that request. Please try again.