Skip to content

Commit c6b08c2

Browse files
author
Cory Johns
committedOct 17, 2013
[#5330] Fixed has_attr typo
1 parent d3a7282 commit c6b08c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎git/objects/commit.py

+1-1
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)
Please sign in to comment.