mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
using the following command: ``` autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 . ```
20 lines
355 B
Python
Executable File
20 lines
355 B
Python
Executable File
#!/usr/bin/env python
|
|
from __future__ import print_function
|
|
|
|
import os
|
|
import sys
|
|
|
|
from six.moves.urllib.error import URLError
|
|
|
|
from common import display
|
|
|
|
try:
|
|
display(*sys.argv[1:3])
|
|
except TypeError as e:
|
|
print('usage: %s key url' % os.path.basename(sys.argv[0]))
|
|
print(e)
|
|
sys.exit(1)
|
|
except URLError as e:
|
|
print(e)
|
|
sys.exit(1)
|