commit | 5b87dbad0cd8b5004c507b33060f2c093d72f98f | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue Dec 15 18:02:50 2015 -0800 |
committer | Aurimas Liutikas <aurimas@google.com> | Tue Dec 15 18:02:50 2015 -0800 |
tree | 97e14019f81c58d7f6b72f16c5507fc51d6b1dc0 | |
parent | 707dc298efcc48ce0a679e1b953c980412c51430 [diff] |
Fix a crash when a brand new file is added. Checkstyle.py was not handling additions of new files resulting in a crash. For new files git.modified_lines() returns None. Added code handles that case. Bug: 25852971 Change-Id: I91e2b8c92581ec9e89bcbbcd2d274f56c791f3a9