Skip to content

Commit

Permalink
Fix tests pep8/pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Jan 19, 2017
1 parent 7626162 commit d792ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alignak_backend/grafana.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def create_dashboard(self, host):
# Find datasource
datasource = None
host_ts_db = self.timeseries[host['_realm']]
for ds_name, ds_data in iteritems(datasources):
for ds_name, ds_data in iteritems(self.datasources):
if ds_data['ts_id'] == str(host_ts_db['_id']):
datasource = ds_name
break
Expand Down

0 comments on commit d792ac4

Please sign in to comment.