diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2016-10-02 10:24:46 -0400 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2016-10-02 10:24:46 -0400 |
commit | 2528d11844a856838c0519e86fe08adc3feb5df1 (patch) | |
tree | 26840067bf586553c9d13c82e90ffe92969434d9 /git/test/lib/helper.py | |
parent | 31fd955dfcc8176fd65f92fa859374387d3e0095 (diff) | |
download | gitpython-2528d11844a856838c0519e86fe08adc3feb5df1.tar.gz |
BF: log.info is a function, just pass msg, no .write!
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index cf5efa9e..2d21f5bf 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -94,8 +94,8 @@ def with_rw_directory(func): try: return func(self, path) except Exception: - log.info.write("Test %s.%s failed, output is at %r\n", - type(self).__name__, func.__name__, path) + log.info("Test %s.%s failed, output is at %r\n", + type(self).__name__, func.__name__, path) keep = True raise finally: |