-
Notifications
You must be signed in to change notification settings - Fork 2.2k
clean utils code. #1290
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
clean utils code. #1290
Conversation
2d8cf3f
to
86b3003
Compare
use |
"error": repr(e), | ||
"traceback": clean_traceback(error_traceback), | ||
} | ||
# if "timeoutexception" in repr(e).lower(): |
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.
remove instead of commenting?
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.
OK, rebased later.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
86b3003
to
33ddc71
Compare
@@ -655,7 +622,6 @@ def reliability_guard(maximum_memory_bytes=None): | |||
os.chmod = None | |||
os.chown = None | |||
os.chroot = None | |||
os.fchdir = None |
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.
why is this removed?
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.
Its duplicate with above define.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
No description provided.