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

Unified Diff: test/pop-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/flimflam.py ('k') | test/push-profile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/pop-profile
diff --git a/test/pop-profile b/test/pop-profile
new file mode 100755
index 0000000000000000000000000000000000000000..2263a4a7cd727081527bb13b09a9e41e46f2f4e8
--- /dev/null
+++ b/test/pop-profile
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+
+import dbus, flimflam, string, sys
+
+if (len(sys.argv) > 2):
+ print "usage: %s [identifier]" % sys.argv[0]
+ sys.exit(1)
+
+flim = flimflam.FlimFlam(dbus.SystemBus())
+if (len(sys.argv) == 2):
+ flim.PopProfile(sys.argv[1])
+else:
+ flim.PopAnyProfile()
« no previous file with comments | « test/flimflam.py ('k') | test/push-profile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698