Added fix for "host:port" shortcuts in INI format definitions.

This commit is contained in:
Michael DeHaan 2013-07-14 17:19:31 -04:00
parent 4d8b039074
commit b0e9ab81af

View File

@ -134,6 +134,9 @@ class MemHost(object):
class BaseLoader(object):
def get_host(self, name):
if ":" in name:
tokens = name.split(":")
name = tokens[0]
global host_names
host = None
if not name in host_names: