summary refs log tree commit diff stats
path: root/tests/manpage_completion_test.py
diff options
context:
space:
mode:
authorJon Anderson <jon.david.anderson@gmail.com>2018-01-21 01:19:41 -0800
committerJon Anderson <jon.david.anderson@gmail.com>2018-01-27 15:50:54 -0800
commit8e24016afb0c12cfb181dbec11ccbaa5986cd9e9 (patch)
tree55757bdcd4ee339c97aa87f49d450311a7993bf8 /tests/manpage_completion_test.py
parenta410d09312402d158322f324715d16a9f08caa5f (diff)
downloadranger-8e24016afb0c12cfb181dbec11ccbaa5986cd9e9.tar.gz
Added except catching for Python2.
When reading a file for which Ranger doesn't have permissions, Python3
throws an OSError. Python2 on the other hand throws a IOError, which
wasn't being caught and caused Ranger to crash. IOError was added to
catch statements for this reason.
Diffstat (limited to 'tests/manpage_completion_test.py')
0 files changed, 0 insertions, 0 deletions