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

[watermarkstat] Import print_function from __future__ #1048

Merged
merged 1 commit into from
Aug 12, 2020
Merged

[watermarkstat] Import print_function from __future__ #1048

merged 1 commit into from
Aug 12, 2020

Conversation

jleveque
Copy link
Contributor

To support the file= argument in print() function in Python 2.7.

@jleveque jleveque added the Bug label Aug 12, 2020
@jleveque jleveque self-assigned this Aug 12, 2020
@qiluo-msft
Copy link
Contributor

Is it only for python3 compatibility?

@jleveque
Copy link
Contributor Author

It's for backwards-compatibility with Python 2.7.

@jleveque jleveque merged commit 91986b7 into sonic-net:master Aug 12, 2020
@jleveque jleveque deleted the add_print_function branch August 12, 2020 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants