Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a26349d

Browse filesBrowse files
committed
Python 3 compatibility
#717
1 parent f7bbe6b commit a26349d
Copy full SHA for a26349d

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎git/config.py

Copy file name to clipboardExpand all lines: git/config.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ def items_all(self, section_name):
523523

524524
rv[k].extend(v)
525525

526-
return rv.items()
526+
# For consistency with items(), return a list, even in Python 3
527+
return list(rv.items())
527528

528529
@needs_values
529530
def write(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.