diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-01-28 13:36:21 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-01-28 13:38:28 +0100 |
commit | 070e0fe0f191bfc8c7c1f6d9dca48fb418e01c59 (patch) | |
tree | 67fab0ae7f2d521364d62ba9d20459efe72c491e /examples/client | |
parent | 71c01964d1a87b6f2b94089ca46de3fe12d2617d (diff) |
ensure-channel.py: rename create_request to create_request_dict
Diffstat (limited to 'examples/client')
-rwxr-xr-x | examples/client/python/ensure-channel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/client/python/ensure-channel.py b/examples/client/python/ensure-channel.py index 1acce1d21..1a52c4cbc 100755 --- a/examples/client/python/ensure-channel.py +++ b/examples/client/python/ensure-channel.py @@ -13,7 +13,7 @@ def usage(): sys.exit(1) -def create_request(action, contact_id): +def create_request_dict(action, contact_id): if action == 'text': return { TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE: @@ -55,9 +55,9 @@ if __name__ == '__main__': account = mgr.ensure_account("%s%s" % (TelepathyGLib.ACCOUNT_OBJECT_PATH_BASE, account_id)) - request = create_request(action, contact_id) + request_dict = create_request_dict(action, contact_id) - req = TelepathyGLib.AccountChannelRequest.new(account, request, 0) + req = TelepathyGLib.AccountChannelRequest.new(account, request_dict, 0) # FIXME: for some reason TelepathyGLib.USER_ACTION_TIME_CURRENT_TIME is # not defined |