From 628d3f1db423690c8f0076036e79ca536c897d3d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 29 Jun 2011 20:35:22 +0200 Subject: little thrift fixes, some new methods stubs --- module/remote/thriftbackend/Handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/remote/thriftbackend/Handler.py') diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py index e45cdfcaa..d518c6e88 100644 --- a/module/remote/thriftbackend/Handler.py +++ b/module/remote/thriftbackend/Handler.py @@ -147,7 +147,6 @@ class Handler(Iface): status.speed = pyfile.getSpeed() #bytes status.eta = pyfile.getETA() status.format_eta = pyfile.formatETA() - status.kbleft = pyfile.getBytesLeft() #holded for backward comp. status.bleft = pyfile.getBytesLeft() status.size = pyfile.getSize() status.format_size = pyfile.formatSize() @@ -156,8 +155,9 @@ class Handler(Iface): status.statusmsg = pyfile.m.statusMsg[pyfile.status] status.format_wait = pyfile.formatWait() status.wait_until = pyfile.waitUntil - status.package = pyfile.package().name + status.packageName = pyfile.package().name status.packageID = pyfile.package().id + status.plugin = pyfile.pluginname data.append(status) return data @@ -543,7 +543,7 @@ class Handler(Iface): def getServices(self): data = {} for plugin, funcs in self.core.hookManager.methods.iteritems(): - data[plugin] = ServiceInfo(funcs) + data[plugin] = funcs return data -- cgit v1.2.3