Skip to content

Commit 6b74a3b

Browse files
committed
---
yaml --- r: 225290 b: refs/heads/stable c: 4decc40 h: refs/heads/master v: v3
1 parent 01ca26a commit 6b74a3b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 93a02d35071910fb8ae7c824157b6d8c49e36433
32+
refs/heads/stable: 4decc408dc1dcac5b79edd41760cb85d3dde5a01
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/etc/tidy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def interesting_file(f):
8181
check_linelength = True
8282

8383
if len(sys.argv) < 2:
84-
print "usage: tidy.py <src-dir>"
84+
print("usage: tidy.py <src-dir>")
8585
sys.exit(1)
8686

8787
src_dir = sys.argv[1]
@@ -200,10 +200,10 @@ def interesting_file(f):
200200

201201
print
202202
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()
208208

209209
sys.exit(err)

0 commit comments

Comments
 (0)