Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
system
/
connectivity
/
shill
/
04fd04814366616e3ed2c0c6e50e08ac7431773b
/
.
/
test-scripts
/
set-country
blob: 03a752a3cd7c83844027a2362aefc56621b807f2 [
file
] [
log
] [
blame
]
#!/usr/bin/python
import
dbus
,
flimflam
,
sys
if
(
len
(
sys
.
argv
)
<
2
):
print
"Usage: %s <country>"
%
(
sys
.
argv
[
0
])
sys
.
exit
(
1
)
(
_
,
country
)
=
sys
.
argv
flim
=
flimflam
.
FlimFlam
(
dbus
.
SystemBus
())
flim
.
SetCountry
(
country
)