File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: 93a02d35071910fb8ae7c824157b6d8c49e36433
13
+ refs/heads/auto: 4decc408dc1dcac5b79edd41760cb85d3dde5a01
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def interesting_file(f):
81
81
check_linelength = True
82
82
83
83
if len (sys .argv ) < 2 :
84
- print "usage: tidy.py <src-dir>"
84
+ print ( "usage: tidy.py <src-dir>" )
85
85
sys .exit (1 )
86
86
87
87
src_dir = sys .argv [1 ]
@@ -200,10 +200,10 @@ def interesting_file(f):
200
200
201
201
print
202
202
for ext in sorted (file_counts , key = file_counts .get , reverse = True ):
203
- print "* linted {} {} files" .format (file_counts [ext ], ext )
204
- print "* linted {} other files" .format (count_other_linted_files )
205
- print "* total lines of code: {}" .format (count_lines )
206
- print "* total non-blank lines of code: {}" .format (count_non_blank_lines )
207
- print
203
+ print ( "* linted {} {} files" .format (file_counts [ext ], ext ) )
204
+ print ( "* linted {} other files" .format (count_other_linted_files ) )
205
+ print ( "* total lines of code: {}" .format (count_lines ) )
206
+ print ( "* total non-blank lines of code: {}" .format (count_non_blank_lines ) )
207
+ print ()
208
208
209
209
sys .exit (err )
You can’t perform that action at this time.
0 commit comments