[gnome-dvb-daemon] gnomedvb: Let get_adapter_info return a dict
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] gnomedvb: Let get_adapter_info return a dict
- Date: Sat, 10 Dec 2011 11:26:44 +0000 (UTC)
commit e3e70d52c303d76f938da1e0672b9f568e3de96d
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date: Sat Dec 10 10:30:04 2011 +0100
gnomedvb: Let get_adapter_info return a dict
This makes it compatible with previous versions
client/gnomedvb/DBusWrapper.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/client/gnomedvb/DBusWrapper.py b/client/gnomedvb/DBusWrapper.py
index 41cab5a..540947f 100644
--- a/client/gnomedvb/DBusWrapper.py
+++ b/client/gnomedvb/DBusWrapper.py
@@ -51,7 +51,8 @@ global_error_handler = _default_error_handler_func
def get_adapter_info(adapter, frontend):
manager = DVBManagerClient()
- info, success = manager.get_adapter_info(adapter, frontend)
+ info_t, success = manager.get_adapter_info(adapter, frontend)
+ info = {"name": info_t[0], "type": info_t[1]}
return (success, info)
def get_dvb_devices():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]