summary refs log tree commit diff stats
path: root/examples/bash_automatic_cd.sh
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-21 01:19:41 -0800
commit43c71f7a938556337bad3ed2ad4b277e730fb969 (patch)
tree450d9b98daa3e592673abd7445a24f02902e26bb /examples/bash_automatic_cd.sh
parente330d3458143fb17f3cf22cc11a7fa588e842ac2 (diff)
downloadranger-43c71f7a938556337bad3ed2ad4b277e730fb969.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 'examples/bash_automatic_cd.sh')
0 files changed, 0 insertions, 0 deletions
ef='#n116'>116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168