webXMPP

Check-in [c644b96a10]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Cleanly exit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:c644b96a10ec12d583a10f2fe1225295a2f4ece3c99408c8c15a6d52da0894d3
User & Date: vandyswa@gmail.com 2017-06-27 16:01:11
Context
2017-06-27
20:23
Bringup, get/notify check-in: c519c48b5b user: vandyswa@gmail.com tags: master, trunk
16:01
Cleanly exit check-in: c644b96a10 user: vandyswa@gmail.com tags: master, trunk
2017-06-26
23:34
Bringup check-in: 40e22b5fdb user: vandyswa@gmail.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to notified.py.

213
214
215
216
217
218
219

220
221
222
    # Debug mode; get a connection to our test server
    conn = pong.Client(cfg.server, cfg.port, cfg.user, cfg.password)

    # Get params, display, exit
    if sys.argv[1] == "params":
        params = conn.pingpong(conn.msg("params", "get"))
        print(params)


    sys.stderr.write("Unknown operation %s\n" % (sys.argv[1],))
    sys.exit(1)







>



213
214
215
216
217
218
219
220
221
222
223
    # Debug mode; get a connection to our test server
    conn = pong.Client(cfg.server, cfg.port, cfg.user, cfg.password)

    # Get params, display, exit
    if sys.argv[1] == "params":
        params = conn.pingpong(conn.msg("params", "get"))
        print(params)
        sys.exit(0)

    sys.stderr.write("Unknown operation %s\n" % (sys.argv[1],))
    sys.exit(1)