/[projects]/misc/xbmc/plugin.video.todic/test.sh
ViewVC logotype

Contents of /misc/xbmc/plugin.video.todic/test.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3254 - (show annotations) (download) (as text)
Thu Feb 28 11:26:21 2019 UTC (5 years, 2 months ago) by torben
File MIME type: application/x-sh
File size: 315 byte(s)
cleanup after validation of python3
1 #!/bin/bash
2
3 lines=`grep -P '\t' default.py | grep -v -e '^#' | wc -l`
4 if [ "$lines" != "0" ] ; then
5 echo Found lines with tab:
6 grep -n -P '\t' default.py
7 exit 1
8 fi
9
10 echo "Checking syntax ..."
11 python -m py_compile default.py
12 rm -rf *.pyc __pycache__
13
14 python3 -m py_compile default.py
15 rm -rf *.pyc __pycache__

  ViewVC Help
Powered by ViewVC 1.1.20