def main():
    if 3 < len(sys.argv):
        print >> sys.stderr, "Usage: %s SSID NEW_PASSWORD" % (sys.argv[0])
        sys.exit(1)

    ssid, new_password = sys.argv[1:3]

    try:
        change_airport_password(ssid, new_password)
    except RuntimeError, exc:
        print >> sys.stderr, "Unable to change password for Airport network %s: %s" % ( ssid, exc)
        sys.exit(1)

    print "Changed password for Airport network %s to %s" % (ssid, new_password)
dataset/ETHPy150Open MacSysadmin/pymacadmin/examples/ctypes/airport-update.py/main/swapped operands of `<`