graphite-project/graphite-web — pull request #1014 by pha6d (2014-11-02 14:25:06+00:00)
Title: Fix: Issue: CarbonLink ignore CARBONLINK_HOSTS = []

when configured with CARBONLINK_HOSTS = []
- select_host fails with webapp/graphite/render/hashing.py, line 88, in get_nodes ZeroDivisionError: integer division or modulo by zero
- trying to get_connection on empty host list is waste of time (and fails similarly as select_host)