Skip to content

Commit 3fab9a8

Browse files
committed
Fix deploy.sh and python2 usage
1 parent b7df2f8 commit 3fab9a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rm -rf out/master/ || exit 0
2424
# Make the doc for master
2525
mkdir out/master/
2626
cp util/gh-pages/index.html out/master
27-
./util/export.py out/master/lints.json
27+
python ./util/export.py out/master/lints.json
2828

2929
# Save the doc for the current tag and point current/ to it
3030
if [ -n "$TRAVIS_TAG" ]; then

util/export.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121

2222
# TODO: actual logging
2323
def warn(*args):
24-
print(*args)
24+
print(args)
2525

2626

2727
def debug(*args):
28-
print(*args)
28+
print(args)
2929

3030

3131
def info(*args):
32-
print(*args)
32+
print(args)
3333

3434

3535
def parse_path(p="clippy_lints/src"):

0 commit comments

Comments
 (0)