File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ before_install:
99install :
1010 - pip install pycurl flake8
1111 - pip install mock
12+ - pip install six
1213 - python setup.py install
1314script :
1415 - python -W always setup.py test
Original file line number Diff line number Diff line change 1-
21import logging
32import sys
43
4+ import six
5+
56logger = logging .getLogger ('stripe' )
67
78__all__ = ['utf8' ]
89
910
1011def utf8 (value ):
11- if isinstance (value , unicode ) and sys .version_info < (3 , 0 ):
12+ if isinstance (value , six . text_type ) and sys .version_info < (3 , 0 ):
1213 return value .encode ('utf-8' )
1314 else :
1415 return value
Original file line number Diff line number Diff line change 4343 package_data = {'openpay' : ['data/ca-certificates.crt' , '../VERSION' ]},
4444 install_requires = install_requires ,
4545 test_suite = 'openpay.test.all' ,
46- use_2to3 = True ,
46+ # use_2to3=True,
4747 )
You can’t perform that action at this time.
0 commit comments