Skip to content
Myr

Fix python3 errors.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ian Cordasco · committed by Ian Cordasco · parent c71f48b · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:requests/models.py+2 added-2 removed
338 unmodified lines
339 if (not files) or isinstance(self.data, str):340 return None341342 try:343 fields = self.data.items()343 fields = list(self.data.items())344 except AttributeError:345 fields = dict(self.data).items()345 fields = list(dict(self.data).items())346347 if isinstance(files, dict):348 files = files.items()349
499 unmodified lines
modified:Makefile+1 added-1 removed
35 unmodified lines
36cipyflakes:37 ${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST}3839citests:40 nosetests ${CI_TESTS} -v --with-xunit --xunit-file=junit-report.xml40 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml4142ci: citests cipyflakes4344travis: citests
36 unmodified lines