diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-06-08 11:39:20 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-06-08 11:43:06 +0200 |
commit | 095013f9b8f7cbdbcbeda215c469be3da9e7d2b3 (patch) | |
tree | dd076d1c02ea0e4b61a258bbb3bb992d50cbdd90 /git/test/refs | |
parent | 74b13c58345d7a8225bbffdfe4d845bb1e703692 (diff) | |
download | gitpython-095013f9b8f7cbdbcbeda215c469be3da9e7d2b3.tar.gz |
Fixed critical issue that would cause a string to be passed to methods that expect a stream
Diffstat (limited to 'git/test/refs')
-rw-r--r-- | git/test/refs/test_reflog.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/git/test/refs/test_reflog.py b/git/test/refs/test_reflog.py index 271924aa..afa00d92 100644 --- a/git/test/refs/test_reflog.py +++ b/git/test/refs/test_reflog.py @@ -34,9 +34,7 @@ class TestRefLog(TestBase): tdir = tempfile.mktemp(suffix="test_reflogs") os.mkdir(tdir) - # verify we have a ref - with the creation of a new ref, the reflog - # will be created as well - rlp_master_ro = RefLog.path(self.rorepo.heads.master) + rlp_master_ro = RefLog.path(self.rorepo.head) assert os.path.isfile(rlp_master_ro) # simple read |