Merge pull request #780 from YunoHost/apps.json
Update change_level.py and travis.yml
This commit is contained in:
@ -4,4 +4,5 @@ python:
|
|||||||
script:
|
script:
|
||||||
- python -m json.tool official.json
|
- python -m json.tool official.json
|
||||||
- python -m json.tool community.json
|
- python -m json.tool community.json
|
||||||
|
- python -m json.tool apps.json
|
||||||
- for i in ./locales/*.json; do python -m json.tool $i || return 1; done
|
- for i in ./locales/*.json; do python -m json.tool $i || return 1; done
|
||||||
|
@ -7,7 +7,7 @@ import json
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv[1:]) < 3:
|
if len(sys.argv[1:]) < 3:
|
||||||
print "Usage: ./change_level.py <official.json|community.json> <app_id> <level>"
|
print "Usage: ./change_level.py <apps.json> <app_id> <level>"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
app_list_name, app_id, level = sys.argv[1:4]
|
app_list_name, app_id, level = sys.argv[1:4]
|
||||||
|
Reference in New Issue
Block a user