Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: test/push-profile

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: more ers comments Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/pop-profile ('k') | test/rm-profile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/push-profile
diff --git a/test/push-profile b/test/push-profile
new file mode 100755
index 0000000000000000000000000000000000000000..24f172894bc4ccf0dfc44949372ffeb1ae4529ca
--- /dev/null
+++ b/test/push-profile
@@ -0,0 +1,11 @@
+#!/usr/bin/python
+
+import dbus, flimflam, string, 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)
« no previous file with comments | « test/pop-profile ('k') | test/rm-profile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698