projects
/
platform
/
upstream
/
connman.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PASSED_TO_PROC_AFTER_FREE.EX
[platform/upstream/connman.git]
/
test
/
get-global-timeservers
1
#!/usr/bin/python
2
3
import dbus
4
5
bus = dbus.SystemBus()
6
7
clock = dbus.Interface(bus.get_object('net.connman', '/'),
8
'net.connman.Clock')
9
10
properties = clock.GetProperties()
11
12
print("Timeserver is %s" % (properties["Timeservers"]))