diff options
Diffstat (limited to 'tools/line_count/collect-history.py')
-rwxr-xr-x | tools/line_count/collect-history.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/line_count/collect-history.py b/tools/line_count/collect-history.py index d2d5c95705..c8e33c9ed2 100755 --- a/tools/line_count/collect-history.py +++ b/tools/line_count/collect-history.py @@ -31,7 +31,8 @@ end_date = datetime.date(2017, 3, 29) for dt in daterange(start_date, end_date): dmy = dt.strftime('%Y-%m-%d') sha1 = subprocess.check_output( - ['git', 'rev-list', '-n', '1', '--before=%s' % dmy, 'master']).strip() + ['git', 'rev-list', '-n', '1', + '--before=%s' % dmy, 'master']).strip() subprocess.check_call(['git', 'checkout', sha1]) subprocess.check_call(['git', 'submodule', 'update']) subprocess.check_call(['git', 'clean', '-f', '-x', '-d']) |