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
Rafael Monnerat
slapos.buildout
Commits
96569be0
Commit
96569be0
authored
Jun 07, 2008
by
Sidnei da Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Quote the 'executable' argument when trying to detect the python version using popen4.
parent
6b35b4be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGES.txt
CHANGES.txt
+3
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+1
-1
No files found.
CHANGES.txt
View file @
96569be0
...
...
@@ -7,6 +7,9 @@ Change History
1.0.4 (unreleased)
==================
- Quote the 'executable' argument when trying to detect the python
version using popen4. (sidnei)
- Quote the 'spec' argument, as in the case of installing an egg from
the buildout-cache, if the filename contains spaces it would fail (sidnei)
...
...
src/zc/buildout/easy_install.py
View file @
96569be0
...
...
@@ -61,7 +61,7 @@ def _get_version(executable):
try
:
return
_versions
[
executable
]
except
KeyError
:
i
,
o
=
os
.
popen4
(
executable
+
' -V'
)
i
,
o
=
os
.
popen4
(
_safe_arg
(
executable
)
+
' -V'
)
i
.
close
()
version
=
o
.
read
().
strip
()
o
.
close
()
...
...
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