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
331de9a4
Commit
331de9a4
authored
Sep 06, 2006
by
Jürgen kartnaller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos
parent
f3e83718
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+3
-3
No files found.
src/zc/buildout/easy_install.py
View file @
331de9a4
...
@@ -129,7 +129,7 @@ def _satisfied(req, env, dest, executable, index, links):
...
@@ -129,7 +129,7 @@ def _satisfied(req, env, dest, executable, index, links):
# Check if we have the upper limit
# Check if we have the upper limit
if maxv is not None and best_we_have.version == maxv:
if maxv is not None and best_we_have.version == maxv:
logger.debug('
We
have
the
best
distributon
that
satisfies
\
n
%
s
',
logger.debug('
We
have
the
best
distribut
i
on
that
satisfies
\
n
%
s
',
req)
req)
return best_we_have
return best_we_have
...
@@ -147,13 +147,13 @@ def _satisfied(req, env, dest, executable, index, links):
...
@@ -147,13 +147,13 @@ def _satisfied(req, env, dest, executable, index, links):
# That's a bit odd. There aren't any distros available.
# That's a bit odd. There aren't any distros available.
# We should use the best one we have that meets the requirement.
# We should use the best one we have that meets the requirement.
logger
.
debug
(
logger
.
debug
(
'There are no distros vailable that meet %s. Using our best.'
,
req
)
'There are no distros
a
vailable that meet %s. Using our best.'
,
req
)
return
best_we_have
return
best_we_have
else
:
else
:
# Let's find out if we already have the best available:
# Let's find out if we already have the best available:
if
best_we_have
.
parsed_version
>=
best_available
.
parsed_version
:
if
best_we_have
.
parsed_version
>=
best_available
.
parsed_version
:
# Yup. Use it.
# Yup. Use it.
logger
.
debug
(
'We have the best distributon that satisfies
\
n
%s'
,
req
)
logger
.
debug
(
'We have the best distribut
i
on that satisfies
\
n
%s'
,
req
)
return
best_we_have
return
best_we_have
return
None
return
None
...
...
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