Better error handling.
Better error handling.

When we get a response from graphite that has no data, then we should return a dict, not a list. This is because we check for "keys" in the return value -- a list hasn't got the has_key directive, leading to a trace, returning service unavailable to the browser...

mistio/mist.monitor,mistio/mist.monitor