Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Closed
Labels
Milestone
Description
As I have whined about in#216, I have a few hits into
======================================================================ERROR: test_base (git.test.test_reflog.TestRefLog)----------------------------------------------------------------------Traceback (most recent call last): File "/home/yoh/deb/gits/python-git/git/test/test_reflog.py", line 48, in test_base reflog = RefLog.from_file(rlp_master_ro) File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 154, in from_file return cls(filepath) File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 128, in __init__ self._read_from_file() File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 140, in _read_from_file self._deserialize(fmap) File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 289, in _deserialize self.extend(self.iter_entries(stream)) File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 180, in iter_entries yield new_entry(line.strip()) File "/home/yoh/deb/gits/python-git/git/refs/log.py", line 86, in from_line raise ValueError("line is missing tab separator")ValueError: line is missing tab separator
(Pdb) print line0000000000000000000000000000000000000000 609237d8b5a47d5e68babea116712e5d41e8a949 Yaroslav Halchenko <debian@onerussian.com> 1418863256 +0000
in my case it looks like fields are separated by the space. Where tab should have been? ;)
I am also a bit confused with 2 ininfo, msg = line.split('\t', 2)
since it would result in up to 3 elements in the list, thus might overfill info, msg pair