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
ce134cef
Unverified
Commit
ce134cef
authored
Jun 09, 2020
by
Sébastien Eustace
Committed by
GitHub
Jun 09, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2522 from hainesc/master
Fix wrong indentation in mixology
parents
bc9acdbc
6f94c6f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
poetry/mixology/incompatibility.py
+12
-12
No files found.
poetry/mixology/incompatibility.py
View file @
ce134cef
...
...
@@ -61,18 +61,18 @@ class Incompatibility:
else
:
by_ref
[
ref
]
=
term
new_terms
=
[]
for
by_ref
in
by_name
.
values
():
positive_terms
=
[
term
for
term
in
by_ref
.
values
()
if
term
.
is_positive
()
]
if
positive_terms
:
new_terms
+=
positive_terms
continue
new_terms
+=
list
(
by_ref
.
values
())
terms
=
new_terms
new_terms
=
[]
for
by_ref
in
by_name
.
values
():
positive_terms
=
[
term
for
term
in
by_ref
.
values
()
if
term
.
is_positive
()
]
if
positive_terms
:
new_terms
+=
positive_terms
continue
new_terms
+=
list
(
by_ref
.
values
())
terms
=
new_terms
self
.
_terms
=
terms
self
.
_cause
=
cause
...
...
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