mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 10:51:34 +08:00
- added web api methods to update requests, samples using restful api - removed the old ad-doc web api - modified the data transfer code to use this api - code cleanup
15 lines
323 B
Python
Executable File
15 lines
323 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os, sys, urllib2
|
|
sys.path.insert( 0, os.path.dirname( __file__ ) )
|
|
from common import display
|
|
|
|
try:
|
|
display( *sys.argv[1:3] )
|
|
except TypeError:
|
|
print 'usage: %s key url' % os.path.basename( sys.argv[0] )
|
|
sys.exit( 1 )
|
|
except urllib2.URLError, e:
|
|
print str(e)
|
|
sys.exit( 1 )
|