forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utilities: Update gdb script so it works with all python versions
Newer versions of Python require a different iterator function. This change will make the iterator classes work with all Python versions. Adds a fix for python3 as it does not support the long() type. The fix guaranties the script still works on Python 2.7. The uKey walker is rather slow on python3, so added a spinner to indicate we are still busy processing entries. Fix functions using the iterkeys() function on dictionaries. Tested-by: solomon <[email protected]> Signed-off-by: Eelco Chaudron <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
1 changed file
with
103 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters