mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Merge pull request #780 from YunoHost/apps.json
Update change_level.py and travis.yml
This commit is contained in:
commit
39eb6ba648
2 changed files with 2 additions and 1 deletions
|
@ -4,4 +4,5 @@ python:
|
|||
script:
|
||||
- python -m json.tool official.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
|
||||
|
|
|
@ -7,7 +7,7 @@ import json
|
|||
|
||||
if __name__ == '__main__':
|
||||
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)
|
||||
|
||||
app_list_name, app_id, level = sys.argv[1:4]
|
||||
|
|
Loading…
Add table
Reference in a new issue