summaryrefslogtreecommitdiff
path: root/git/repo/fun.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-06 12:22:16 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-06 12:22:16 +0100
commit60e54133aa1105a1270f0a42e74813f75cd2dc46 (patch)
treec5d6a2c600ef7d9a66d8a11e1e474b921cccfb7d /git/repo/fun.py
parenta83eee5bcee64eeb000dd413ab55aa98dcc8c7f2 (diff)
downloadgitpython-60e54133aa1105a1270f0a42e74813f75cd2dc46.tar.gz
test_remote works
And I have to wonder why git-daemon serves under py2.7, but really wants receive-pack to be allowed under 3.4. Maybe it's a repository override which for some reason doesn't work in py3.4 ? Maybe because the change is not flushed ?
Diffstat (limited to 'git/repo/fun.py')
-rw-r--r--git/repo/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/fun.py b/git/repo/fun.py
index 64b9b4a9..ac0fa6f1 100644
--- a/git/repo/fun.py
+++ b/git/repo/fun.py
@@ -21,7 +21,7 @@ __all__ = ('rev_parse', 'is_git_dir', 'touch', 'read_gitfile', 'find_git_dir', '
def touch(filename):
- fp = open(filename, "a")
+ fp = open(filename, "ab")
fp.close()