summaryrefslogtreecommitdiff
path: root/examples/table_display.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-05-27 14:02:56 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-05-27 14:02:56 -0400
commit916060bde828d8911ec2bbb4db54396212514481 (patch)
tree11dc0925c2225e37c9c99a37adfb421e24e6e02e /examples/table_display.py
parentf82c3653088f15bb33e2624fa0a3b5e9a6e74fb7 (diff)
downloadcmd2-git-916060bde828d8911ec2bbb4db54396212514481.tar.gz
Fix a bug discovered during manual testing
I found that at least with certain versions of Python and OSes, if I had a previous text-based readline history, an unhandled UnpicklingError exception could occur. So now we catch that and several other possible errors which can theoretically occur during unpickling and just move on with an empty history. The old file will get overwritten with one in the new format when the application exits.
Diffstat (limited to 'examples/table_display.py')
0 files changed, 0 insertions, 0 deletions