grit: fix long handling with Python 3
We need to convert numeric strings ids into numbers, but the integer is too large for int() on Python 2. Add an alias for long=int so we can keep using long() in both environments. Bug: 983071 Test: `./grit/test_suite_all.py` passes Change-Id: Ied5c18f457e4ee499f5697f54621eb72fe15f7d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700481 Auto-Submit: Mike Frysinger <vapier@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#677107}
Showing
Please register or sign in to comment