FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[#5330] Fixed has_attr typo · gitpython-developers/GitPython@c6b08c2 · GitHub

Repository navigation

Commit c6b08c2

Browse files
Cory Johns
committed
[#5330] Fixed has_attr typo
1 parent d3a7282 commit c6b08c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git/objects/commit.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def _iter_from_process_or_stream(cls, repo, proc_or_stream):
252252
assert len(hexsha) == 40, "Invalid line: %s" % hexsha
253253
yield Commit(repo, hex_to_bin(hexsha))
254254
# END for each line in stream
255-
if has_attr(proc_or_stream, 'wait'):
255+
if hasattr(proc_or_stream, 'wait'):
256256
finalize_process(proc_or_stream)
257257

258258

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL