mirror of git://git.sysmocom.de/ofono
Update test script to newer api.
Also remove an unused "import".
This commit is contained in:
parent
3187db9352
commit
b68c673d45
|
@ -25,7 +25,7 @@ for path in properties["Modems"]:
|
|||
properties = connmgr.GetProperties()
|
||||
|
||||
if (properties["PrimaryContexts"] == []):
|
||||
path = connmgr.CreateContext()
|
||||
path = connmgr.CreateContext("Example", "internet")
|
||||
else:
|
||||
path = properties["PrimaryContexts"][0]
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import gobject
|
||||
|
||||
import dbus
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue