Chromium Code Reviews| Index: appengine/findit/common/change_log.py |
| diff --git a/appengine/findit/common/change_log.py b/appengine/findit/common/change_log.py |
| index c56c8ec6e20267b6a147e6fc598f6a70cebfe938..17b88c48465acda877c370cbfa07799831652f49 100644 |
| --- a/appengine/findit/common/change_log.py |
| +++ b/appengine/findit/common/change_log.py |
| @@ -25,9 +25,10 @@ class FileChangeInfo(object): |
| class ChangeLog(object): |
| """Represents the change log of a revision.""" |
| - def __init__(self, author_name, author_email, author_time, committer_name, |
| - committer_email, committer_time, revision, commit_position, |
| - message, touched_files, commit_url, code_review_url=None, |
| + def __init__(self, author_name=None, author_email=None, author_time=None, |
| + committer_name=None, committer_email=None, committer_time=None, |
| + revision=None, commit_position=None, message=None, |
|
stgao
2016/10/22 00:39:16
Why all these fields become optional? An't they al
Sharu Jiang
2016/10/25 00:36:19
Right, should use FromDict instead. Done.
|
| + touched_files=None, commit_url=None, code_review_url=None, |
| reverted_revision=None): |
| self.author_name = author_name |
| self.author_email = author_email |