Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
3dee81de
Commit
3dee81de
authored
May 21, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack: disable SSL certificates, because vifib does not provide valid certificates yet
parent
01844142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+15
-0
No files found.
erp5/util/taskdistribution/__init__.py
View file @
3dee81de
...
...
@@ -47,6 +47,21 @@ import threading
import
time
import
xmlrpclib
# XXX disable ssl certificate check, because vifib does not provide valid certificates yet
import
ssl
try
:
_create_unverified_https_context
=
ssl
.
_create_unverified_context
except
AttributeError
:
# Legacy Python that doesn't verify HTTPS certificates by default
pass
else
:
# Handle target environment that doesn't support HTTPS verification
ssl
.
_create_default_https_context
=
_create_unverified_https_context
__all__
=
[
'TaskDistributionTool'
,
'TestResultProxy'
,
'TestResultLineProxy'
,
'patchRPCParser'
]
# Depending on used xmlrpc backend, different exceptions can be thrown.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment