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
Boxiang Sun
slapos.buildout
Commits
cb0c8b49
Commit
cb0c8b49
authored
Oct 09, 2014
by
Peter Uittenbroek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename destination to dest.. forgot to save file
parent
6597f599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+4
-6
No files found.
src/zc/buildout/easy_install.py
View file @
cb0c8b49
...
@@ -609,15 +609,13 @@ class Installer:
...
@@ -609,15 +609,13 @@ class Installer:
logger
.
debug
(
'Installing %s.'
,
repr
(
specs
)[
1
:
-
1
])
logger
.
debug
(
'Installing %s.'
,
repr
(
specs
)[
1
:
-
1
])
path
=
self
.
_path
path
=
self
.
_path
dest
ination
=
self
.
_dest
dest
=
self
.
_dest
if
dest
ination
is
not
None
and
destination
not
in
path
:
if
dest
is
not
None
and
dest
not
in
path
:
path
.
insert
(
0
,
dest
ination
)
path
.
insert
(
0
,
dest
)
requirements
=
[
self
.
_constrain
(
pkg_resources
.
Requirement
.
parse
(
spec
))
requirements
=
[
self
.
_constrain
(
pkg_resources
.
Requirement
.
parse
(
spec
))
for
spec
in
specs
]
for
spec
in
specs
]
if
working_set
is
None
:
if
working_set
is
None
:
ws
=
pkg_resources
.
WorkingSet
([])
ws
=
pkg_resources
.
WorkingSet
([])
else
:
else
:
...
@@ -658,7 +656,7 @@ class Installer:
...
@@ -658,7 +656,7 @@ class Installer:
except
pkg_resources
.
VersionConflict
,
err
:
except
pkg_resources
.
VersionConflict
,
err
:
raise
VersionConflict
(
err
,
ws
)
raise
VersionConflict
(
err
,
ws
)
if
dist
is
None
:
if
dist
is
None
:
if
dest
ination
:
if
dest
:
logger
.
debug
(
'Getting required %r'
,
str
(
req
))
logger
.
debug
(
'Getting required %r'
,
str
(
req
))
else
:
else
:
logger
.
debug
(
'Adding required %r'
,
str
(
req
))
logger
.
debug
(
'Adding required %r'
,
str
(
req
))
...
...
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