Wireshark mailing list archives

Re: [Wireshark-commits] rev 40734: /trunk/tools/ /trunk/tools/: make-dissector-reg.py


From: Guy Harris <guy () alum mit edu>
Date: Thu, 26 Jan 2012 13:13:27 -0800


On Jan 26, 2012, at 11:38 AM, gerald () wireshark org wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40734

User: gerald
Date: 2012/01/26 11:38 AM

Log:
Apply changes from the "2to3" conversion utility. Print cache information.

Unfortunately, Python 2.x doesn't appear to like it any more:

Making plugin.c (using python)

Traceback (most recent call last):
  File "../../tools/make-dissector-reg.py", line 126, in <module>
    print(("Registering %d files, %d cached" % (len(filenames), len(list(cache.keys()))-1)))
AttributeError: 'NoneType' object has no attribute 'keys'
NMAKE : fatal error U1077: 'C:\Python27\python.exe' : return code '0x1'

and the same complaints is showing up on the Ubuntu buildbot.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: