test,examples: fix scripts to avoid 'has_key' for Python 3
authorThomas Haller <thaller@redhat.com>
Fri, 31 Oct 2014 15:34:23 +0000 (16:34 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 31 Oct 2014 15:39:00 +0000 (16:39 +0100)
commit0923769285ba6e5f665a3c9b5f01b17d1be34d5b
tree788e589e2261440af5a5f3527bb8d80bfc3d3283
parent4f9e2e960372fa116931bcc06563a9c3c638dbd7
test,examples: fix scripts to avoid 'has_key' for Python 3

'has_key' on Dictionaries is removed from Python3 in favor of 'in'.

Signed-off-by: Thomas Haller <thaller@redhat.com>
examples/python/dbus/update-ip4-method.py
tools/test-networkmanager-service.py