Sign in
nest-open-source
/
nest-learning-thermostat
/
5.1.6
/
connman
/
e9efd7dd8e884bb730bceb1d101bf60aecb0b9ed
/
.
/
connman
/
test
/
get-global-timeservers
blob: adcf175a27e0c52c59a55ff4a0b9470d6995301b [
file
] [
log
] [
blame
]
#!/usr/bin/python
import
dbus
bus
=
dbus
.
SystemBus
()
clock
=
dbus
.
Interface
(
bus
.
get_object
(
'net.connman'
,
'/'
),
'net.connman.Clock'
)
properties
=
clock
.
GetProperties
()
print
"Timeserver is %s"
%
(
properties
[
"Timeservers"
])