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
594fd99e
Unverified
Commit
594fd99e
authored
May 31, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a RuntimeError on Python 3.7
parent
043b9ec9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
CHANGELOG.md
+1
-0
poetry/toml/prettify/elements/abstracttable.py
+3
-0
No files found.
CHANGELOG.md
View file @
594fd99e
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
-
Fixed
`self:update`
command on Windows.
-
Fixed
`self:update`
command on Windows.
-
Fixed
`self:update`
not picking up new versions.
-
Fixed
`self:update`
not picking up new versions.
-
Fixed a
`RuntimeError`
on Python 3.7.
## [0.10.2] - 2018-05-31
## [0.10.2] - 2018-05-31
...
...
poetry/toml/prettify/elements/abstracttable.py
View file @
594fd99e
...
@@ -21,7 +21,10 @@ class AbstractTable(ContainerElement, traversal.TraversalMixin, dict):
...
@@ -21,7 +21,10 @@ class AbstractTable(ContainerElement, traversal.TraversalMixin, dict):
"""
"""
non_metadata
=
self
.
_enumerate_non_metadata_sub_elements
()
non_metadata
=
self
.
_enumerate_non_metadata_sub_elements
()
while
True
:
while
True
:
try
:
yield
next
(
non_metadata
),
next
(
non_metadata
)
yield
next
(
non_metadata
),
next
(
non_metadata
)
except
StopIteration
:
return
def
items
(
self
):
def
items
(
self
):
for
(
key_i
,
key
),
(
value_i
,
value
)
in
self
.
_enumerate_items
():
for
(
key_i
,
key
),
(
value_i
,
value
)
in
self
.
_enumerate_items
():
...
...
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