Skip to content

Support multiple git config values per option #829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
3 commits merged into from
Jul 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Python 3 compatibility
  • Loading branch information
ajdavis committed Jan 21, 2019
commit a26349d8df88107bd59fd69c06114d3b213d0b27
3 changes: 2 additions & 1 deletion git/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,8 @@ def items_all(self, section_name):

rv[k].extend(v)

return rv.items()
# For consistency with items(), return a list, even in Python 3
return list(rv.items())

@needs_values
def write(self):
Expand Down