Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/python | |
| 2 | |
| 3 import dbus, flimflam, string, sys | |
| 4 | |
| 5 if (len(sys.argv) < 2): | |
| 6 print "Profile pathname required" | |
| 7 sys.exit(1) | |
| 8 | |
| 9 flim = flimflam.FlimFlam(dbus.SystemBus()) | |
| 10 profile = flim.CreateProfile(sys.argv[1]) | |
| 11 print "New profile created at %s" % (profile.object_path) | |
| OLD | NEW |