]> git.lizzy.rs Git - rust.git/commit
Make version check in gdb_rust_pretty_printing.py more compatible.
authorMichael Woerister <michaelwoerister@posteo.net>
Wed, 17 Aug 2016 13:55:27 +0000 (09:55 -0400)
committerMichael Woerister <michaelwoerister@posteo.net>
Wed, 17 Aug 2016 13:55:27 +0000 (09:55 -0400)
commit6aca068abae964f4f072528b95404d1409175e83
tree854640421eb3104b127f482e2b96362eda5cfd31
parente25542cb02d946959517ebb68e2f7b1318817237
Make version check in gdb_rust_pretty_printing.py more compatible.

Some versions of Python don't support the `major` field on the
object returned by `sys.version_info`.
src/etc/gdb_rust_pretty_printing.py