Sign in
chromium
/
chromiumos
/
platform
/
flimflam
/
e7362cd2545c2462f52b7d176dd261844d2dde13
/
.
/
test
/
push-profile
blob: 07520777a00d0900033d8002b653d34596263ea0 [
file
] [
log
] [
blame
]
#!/usr/bin/python
import
dbus
,
flimflam
,
sys
if
(
len
(
sys
.
argv
)
<
2
):
print
"Profile identifier required"
sys
.
exit
(
1
)
flim
=
flimflam
.
FlimFlam
(
dbus
.
SystemBus
())
profile
=
flim
.
PushProfile
(
sys
.
argv
[
1
])
print
"Pushed profile %s"
%
(
profile
.
object_path
)