Skip to content

Fix print statements for Python 3#2

Merged
chrisburr merged 1 commit intoDIRACGrid:masterfrom
chrisburr:fix-py3-prints
Oct 27, 2020
Merged

Fix print statements for Python 3#2
chrisburr merged 1 commit intoDIRACGrid:masterfrom
chrisburr:fix-py3-prints

Conversation

@chrisburr
Copy link
Copy Markdown
Member

No description provided.

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these be everywhere?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they're everywhere that matters at the moment and the contents of this PR is enough to get a build of the conda package for DIRACGrid/management#23 to work. I think the code in here would benefit from some clean up but that should be a separate PR, likely after the first version is tagged.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it most definitely needs a cleanup. There is hardcoded path on my desktop PC :-)

@chrisburr chrisburr merged commit 7cc2e60 into DIRACGrid:master Oct 27, 2020
@chrisburr chrisburr deleted the fix-py3-prints branch August 22, 2025 21:47
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.

3 participants