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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
aad6888e
Commit
aad6888e
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
5143b251
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 @
aad6888e
...
...
@@ -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