diff options
author | 2011-07-20 22:03:03 +0200 | |
---|---|---|
committer | 2011-07-20 22:03:03 +0200 | |
commit | f8b737b3f2dc97e2bd3b40b55bfcd35459ecf950 (patch) | |
tree | f370a7965c1c2485465bf394aa5ef0bdd13d6591 /module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | |
parent | MU fix (diff) | |
download | pyload-f8b737b3f2dc97e2bd3b40b55bfcd35459ecf950.tar.xz |
online check for container
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index cdae7ac2a..8c2b368e1 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -43,6 +43,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' checkURLs(LinkList urls)' print ' parseURLs(string html)' print ' OnlineCheck checkOnlineStatus(LinkList urls)' + print ' OnlineCheck checkOnlineStatusContainer(LinkList urls, string filename, string data)' print ' OnlineCheck pollResults(ResultID rid)' print ' statusDownloads()' print ' PackageData getPackageData(PackageID pid)' @@ -261,6 +262,12 @@ elif cmd == 'checkOnlineStatus': sys.exit(1) pp.pprint(client.checkOnlineStatus(eval(args[0]),)) +elif cmd == 'checkOnlineStatusContainer': + if len(args) != 3: + print 'checkOnlineStatusContainer requires 3 args' + sys.exit(1) + pp.pprint(client.checkOnlineStatusContainer(eval(args[0]),args[1],args[2],)) + elif cmd == 'pollResults': if len(args) != 1: print 'pollResults requires 1 args' |