mixpanel / mixpanel-utils

Other
87 stars 63 forks source link

Fix syntax error on line 1486 reported by Python 2.6.6 #22

Closed thowat closed 4 years ago

thowat commented 5 years ago

Python 2.6.6 on Centos 6.8

Traceback (most recent call last): File "./people-delete.py", line 1, in from mixpanel_api import Mixpanel File "/usr/lib/python2.6/site-packages/mixpanel_api/init.py", line 1486 with open(filename, 'rb') as f_in, gzip.open(gzip_filename, 'wb') as f_out:

jaredmixpanel commented 4 years ago

@thowat sorry this wasn't looked at sooner, the PR contains a syntax error, missing second with also Centos 6 is now EOL in a month, so we'll stick with the Python 2.7 syntax for now.