Files
galaxy/scripts/api/requests_update_state.py
T
Nicola Soranzo 21b44bf348 Fix all E201 and E202 style errors
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00

17 lines
332 B
Python
Executable File

#!/usr/bin/env python
from __future__ import print_function
import os
import sys
from common import update
try:
data = {}
data['update_type'] = 'request_state'
except IndexError:
print('usage: %s key url' % os.path.basename(sys.argv[0]))
sys.exit(1)
update(sys.argv[1], sys.argv[2], data, return_formatted=True)