Fix KeyError: u'message' in SVN commits backend.
Review Request #6361 — Created Sept. 23, 2014 and submitted
Not every commit we get has a message, which can cause exceptions to be thrown
from the repository commits resource. We already had one fix for this sort of
error with the author fields. This change fixes it up to do the same for
message and author everywhere.
Ran unit tests.
Description | From | Last Updated |
---|---|---|
What about these instances of commit['message'] and commit['author']? |
ST stilor |
ST
-
-
reviewboard/scmtools/svn/__init__.py (Diff revision 1) What about these instances of
commit['message']
andcommit['author']
? -
BTW, this change was checked in with a wrong reference to the issue number (3579 instead of 3570).