Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor syntax edits and one alert #5

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

jvedman
Copy link

@jvedman jvedman commented Mar 10, 2021

Just some minor syntax changes for things that will break under Python 3.x, specifically

  • "except foo, f" to "except foo as f"
  • "print foo" to "print(foo)"

Also commented above the mandrill_send line in emailer.py as async is a reserved word, so this will not work.

Here's to hoping we can get correlator working in a modern version of Python!

jvedman added 8 commits March 10, 2021 10:05
Cleaning up minor syntax that will break in Python 3.x
Cleaning up minor syntax that will break in Python 3.x
Cleaning up minor syntax that will break in Python 3.x
Cleaning up minor syntax that will break in Python 3.x
Syntax alert for Python 3.x
Alternative to dict_keys() call which doesn't provide a list any longer in Python 3.x
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