Skip to content

Commit

Permalink
Py3 compatiblity. Added py 2.6 to allowed failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Mar 16, 2017
1 parent 9900035 commit a654fd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ python:
- pypy
env:
- INFLUXDB_VERSION=1.2.0
allow_failures:
- python: 2.6
before_install:
- pip install -U pip setuptools wheel
- wget https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUXDB_VERSION}_amd64.deb
Expand Down
2 changes: 1 addition & 1 deletion influxgraph/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _retrieve_named_field_data(infl_data, measurement_data, measurement, tags, _
split_path = []
_make_path_from_template(
split_path, measurement,
measurement_data[measurement]['template'], tags.items(),
measurement_data[measurement]['template'], list(tags.items()),
separator=separator)
split_path = [p[1] for p in heapsort(split_path)]
split_path.append(field)
Expand Down
1 change: 0 additions & 1 deletion tests/test_influxdb_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def test_find_branch(self):
(self.end_time - datetime.timedelta(minutes=2)).strftime("%Y-%m-%dT%H:%M:%SZ"),
]]
self.assertTrue(self.client.write_points(data))
# import ipdb; ipdb.set_trace()
self.finder.build_index()
query = Query(prefix + '.*')
# Test getting leaf nodes with wildcard
Expand Down

0 comments on commit a654fd2

Please sign in to comment.