michael@0: #!/usr/bin/python michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: michael@0: import sys michael@0: michael@0: msgid = int(sys.argv[1]) michael@0: protocol = (msgid >> 16) michael@0: msg = (msgid - (protocol << 16)) michael@0: michael@0: print 'protocol', protocol, 'message', msg