summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2016-10-02 10:24:46 -0400
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-02 23:32:20 +0200
commit794187ffab92f85934bd7fd2a437e3a446273443 (patch)
tree29cfe127785bddfa0d9fa1f9f369df5a4f5372b0
parente25da8ffc66fb215590a0545f6ad44a3fd06c918 (diff)
downloadgitpython-794187ffab92f85934bd7fd2a437e3a446273443.tar.gz
BF: log.info is a function, just pass msg, no .write!
-rw-r--r--git/test/lib/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index 3ec55399..4335a977 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -97,8 +97,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: