-
Notifications
You must be signed in to change notification settings - Fork 108
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
[py2py3] Modernization of last files left out up to now #10768
Conversation
This comment has been minimized.
This comment has been minimized.
0009579
to
3349527
Compare
Jenkins results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Dario. It looks good to me.
@@ -204,8 +204,8 @@ def __call__(self, parameters): | |||
# force entire component to terminate | |||
try: | |||
self.component.prepareToStop() | |||
except Exception as ex: | |||
logging.error("Failed to halt component after worker crash: %s", str(ex)) | |||
except Exception as ex1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it wasn't me, you have to thank pylint for that! ahaha
Fixes #10150
Status
ready
Description
I used
pylint --py3k
to scan wholedmwm/WMCore
and find what have been left out up to now.There is one thing that pylint is complaining about, that i did not update in this
PR is
Implementing __eq__ without also implementing __hash__ (eq-without-hash)
.Is it backward compatible (if not, which system it affects?)
yes
Related PRs
nope
External dependencies / deployment changes
nope