Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Thomas Leymonerie
slapos.buildout
Commits
1761c654
Commit
1761c654
authored
Aug 26, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround M2Crypto bug of https redirection.
parent
a6982cdf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+10
-0
No files found.
src/zc/buildout/buildout.py
View file @
1761c654
...
@@ -40,6 +40,16 @@ import zc.buildout
...
@@ -40,6 +40,16 @@ import zc.buildout
import
zc.buildout.download
import
zc.buildout.download
import
zc.buildout.easy_install
import
zc.buildout.easy_install
# Workaround for https://bugzilla.osafoundation.org/show_bug.cgi?id=13033
# M2Crypto breaks https links
try
:
from
urllib
import
URLopener
python_open_https
=
URLopener
.
open_https
import
M2Crypto
URLopener
.
open_https
=
python_open_https
except
ImportError
:
pass
try
:
try
:
import
slapos.libnetworkcache
import
slapos.libnetworkcache
except
ImportError
:
except
ImportError
:
...
...
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