Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
27858e82
Unverified
Commit
27858e82
authored
Oct 06, 2020
by
Yury V. Zaytsev
Committed by
GitHub
Oct 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export: fix handling of nested git dependencies
parent
b02e66c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
poetry/utils/exporter.py
+5
-2
No files found.
poetry/utils/exporter.py
View file @
27858e82
...
@@ -134,11 +134,14 @@ class Exporter(object):
...
@@ -134,11 +134,14 @@ class Exporter(object):
# If we have extra indexes, we add them to the beginning of the output
# If we have extra indexes, we add them to the beginning of the output
indexes_header
=
""
indexes_header
=
""
for
index
in
sorted
(
indexes
):
for
index
in
sorted
(
indexes
):
repositor
y
=
[
repositor
ies
=
[
r
r
for
r
in
self
.
_poetry
.
pool
.
repositories
for
r
in
self
.
_poetry
.
pool
.
repositories
if
r
.
url
==
index
.
rstrip
(
"/"
)
if
r
.
url
==
index
.
rstrip
(
"/"
)
][
0
]
]
if
not
repositories
:
continue
repository
=
repositories
[
0
]
if
(
if
(
self
.
_poetry
.
pool
.
has_default
()
self
.
_poetry
.
pool
.
has_default
()
and
repository
is
self
.
_poetry
.
pool
.
repositories
[
0
]
and
repository
is
self
.
_poetry
.
pool
.
repositories
[
0
]
...
...
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