mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Also: - Add and fix type annotations - Fix call of `object_store_allows_id_selection()` method
18 lines
304 B
Python
Executable File
18 lines
304 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
from urllib.error import URLError
|
|
|
|
from common import display
|
|
|
|
try:
|
|
display(*sys.argv[1:3])
|
|
except TypeError as e:
|
|
print(f"usage: {os.path.basename(sys.argv[0])} key url")
|
|
print(e)
|
|
sys.exit(1)
|
|
except URLError as e:
|
|
print(e)
|
|
sys.exit(1)
|