1 #!/usr/bin/python 2 3 import dbus, flimflam, sys 4 5 if (len(sys.argv) < 2): 6 print "Usage: %s check-portal-list" % (sys.argv[0]) 7 sys.exit(1) 8 9 (_, portal_list) = sys.argv 10 11 flim = flimflam.FlimFlam(dbus.SystemBus()) 12 flim.SetCheckPortalList(portal_list) 13