Closed nikmagini closed 7 years ago
Updating old scripts for modern python
py2.6+: json-->simplejson
py3 future compatibility from https://github.com/dmwm/PHEDEX/pull/1043/commits/a151aa952d9613acf9529c461e6bb904ef8e6d8c : StringIO --> io Note that StringIO.StringIO needs to be changed either to io.StringIO OR StringIO.BytesIO, depending on usecase. E.g. pycurl requires bytes strings.
Updating old scripts for modern python
py2.6+: json-->simplejson
py3 future compatibility from https://github.com/dmwm/PHEDEX/pull/1043/commits/a151aa952d9613acf9529c461e6bb904ef8e6d8c : StringIO --> io Note that StringIO.StringIO needs to be changed either to io.StringIO OR StringIO.BytesIO, depending on usecase. E.g. pycurl requires bytes strings.