Sure is more pythonic. I can easily check for a comma-separated string or a list of "host:port" and store the info accordingly.

thanks for your comment, I'll add this.