Skip to content

Commit f3d6143

Browse files
committed
Merge pull request influxdata#167 from tsipa/master
Get 0.8 client compatible with python 2.6 too
2 parents 19338c8 + d513542 commit f3d6143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/influxdb08/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
except NameError:
1717
xrange = range
1818

19-
if version_info.major == 3:
19+
if version_info[0] == 3:
2020
from urllib.parse import urlparse
2121
else:
2222
from urlparse import urlparse

0 commit comments

Comments
 (0)