Skip to content

Enable Python3 support#19

Open
dbs wants to merge 1 commit intoscholarsportal:masterfrom
dbs:python3
Open

Enable Python3 support#19
dbs wants to merge 1 commit intoscholarsportal:masterfrom
dbs:python3

Conversation

@dbs
Copy link
Copy Markdown

@dbs dbs commented May 9, 2018

This should (theoretically) also work with recent versions of Python2.

Minor changes:

  • from os.environ.get('FOO') to os.environ['FOO']
  • from except Exception, e to except Exception as e
  • use binary mode to open files that will be uploaded

Signed-off-by: Dan Scott dan@coffeecode.net

This should (theoretically) also work with recent versions of Python2.

Minor changes:

* from os.environ.get('FOO') to os.environ['FOO']
* from except Exception, e to except Exception as e
* use binary mode to open files that will be uploaded

Signed-off-by: Dan Scott <dan@coffeecode.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant