diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2013-11-06 11:48:00 +0200 |
---|---|---|
committer | rmerlino <regis.merlino@intel.com> | 2013-12-12 11:45:45 +0100 |
commit | 8e67ca17381ac31224f83533d01075c4c01dc219 (patch) | |
tree | 6d56a0385fe9e29230166bb77f83aa929916f694 | |
parent | 04e3e17d954d4b1740b3adac51f4281805ed1790 (diff) | |
download | dleyna-server-8e67ca17381ac31224f83533d01075c4c01dc219.tar.gz |
[test] Survive a missing ServiceResetToken in dsc
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r-- | test/dbus/download_sync_controller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dbus/download_sync_controller.py b/test/dbus/download_sync_controller.py index 521cab4..c9438ee 100644 --- a/test/dbus/download_sync_controller.py +++ b/test/dbus/download_sync_controller.py @@ -311,10 +311,10 @@ class DscController(object): for item in servers: device = Device(item) uuid = device.get_prop('UDN') - new_srt = device.get_prop('ServiceResetToken') - new_id = device.get_prop('SystemUpdateID') if self.__config.has_section(uuid): + new_id = device.get_prop('SystemUpdateID') + new_srt = device.get_prop('ServiceResetToken') cur_id = self.__config.getint(uuid, DscController.SUID_OPTION) cur_srt = self.__config.get(uuid, DscController.SRT_OPTION) if cur_id == -1 or cur_srt != new_srt: |