Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runbot/runbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def update_git(self, cr, uid, repo, context=None):
git_refs = git_refs.strip()

refs = [[decode_utf(field) for field in line.split('\x00')] for line in git_refs.split('\n')]

refs = [ref for ref in refs if len(ref) == 8] # cleanup empty lines which cause unpack errors below
for name, sha, date, author, author_email, subject, committer, committer_email in refs:
# create or get branch
branch_ids = Branch.search(cr, uid, [('repo_id', '=', repo.id), ('name', '=', name)])
Expand Down