author | Bill McCloskey <wmccloskey@mozilla.com> |
Mon, 30 Sep 2013 13:30:39 -0700 | |
changeset 149377 | 2cda3246c311be3fafb5fb1ff958eafef1b08ebd |
parent 94475 | f4157e8c410708d76703f19e4dfb61859bfe32d8 |
child 450140 | 0bb1f2417265f9c9fbcf1a07f553ea08ad7308d5 |
permissions | -rw-r--r-- |
#!/usr/bin/python # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import sys msgid = int(sys.argv[1]) protocol = (msgid >> 16) msg = (msgid - (protocol << 16)) print 'protocol', protocol, 'message', msg