Skip to content

[v7r0] Modify __init__.py to avoid conflicts with rel-v7r2#4894

Merged
atsareg merged 1 commit into
DIRACGrid:rel-v7r0from
chrisburr:avoid-conflicts
Jan 18, 2021
Merged

[v7r0] Modify __init__.py to avoid conflicts with rel-v7r2#4894
atsareg merged 1 commit into
DIRACGrid:rel-v7r0from
chrisburr:avoid-conflicts

Conversation

@chrisburr

Copy link
Copy Markdown
Member

This isn't strictly needed but I think it will make the conflicts with #4865 easier to handle.

@atsareg atsareg merged commit f2d4000 into DIRACGrid:rel-v7r0 Jan 18, 2021
Comment thread __init__.py
patchLevel = 44
preVersion = 0

version = "v%sr%s" % (majorVersion, minorVersion)

@atsareg atsareg Jan 18, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If the (majorVersion, minorVersion) are not defined above (pythonVersion[0] == "3") this line will fail. This show up in the test now. I guess this is not a problem yet since we do not yet use python3 but somehow this should be corrected. For example, the subsequent code block should be indented to be inside the else: close

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.

It's intended to be combined with #4865

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see. Do you think that #4865 is ready to be merged ? Since I have not yet went through it I did not merge it as formally it is not yet approved. I have made a simple fix in the integration DIRAC/init.py to let the tests pass for the moment

@chrisburr chrisburr deleted the avoid-conflicts branch February 2, 2021 17:20
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