summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Johns <cjohns@slashdotmedia.com>2013-10-17 15:33:59 +0000
committerCory Johns <cjohns@slashdotmedia.com>2013-10-17 15:33:59 +0000
commitc6b08c27a031f8b8b0bb6c41747ca1bc62b72706 (patch)
tree81e47f97bd1e507ed0ca4d166d95952cca08fa6f
parentd3a728277877924e889e9fef42501127f48a4e77 (diff)
downloadgitpython-c6b08c27a031f8b8b0bb6c41747ca1bc62b72706.tar.gz
[#5330] Fixed has_attr typo
-rw-r--r--git/objects/commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/commit.py b/git/objects/commit.py
index 0565b2c0..4ccd9d75 100644
--- a/git/objects/commit.py
+++ b/git/objects/commit.py
@@ -252,7 +252,7 @@ class Commit(base.Object, Iterable, Diffable, Traversable, Serializable):
assert len(hexsha) == 40, "Invalid line: %s" % hexsha
yield Commit(repo, hex_to_bin(hexsha))
# END for each line in stream
- if has_attr(proc_or_stream, 'wait'):
+ if hasattr(proc_or_stream, 'wait'):
finalize_process(proc_or_stream)