SVN log messages can be None.

This commit is contained in:
2016-08-31 15:59:45 +02:00
parent 268a40092e
commit 8b618c3ecb
2 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ class CommitLogObserver(object):
# assumption: revisions are always logged in strictly increasing order.
self.last_seen_revision = log_entry.revision
# Log entries can be None.
if not log_entry.msg:
continue
# Parse the commit log to see if there are any task markers.
lines = log_entry.msg.split('\n', 1)
first_line = lines[0]