Remove bare 'except:'

This commit is contained in:
James R. Barlow
2017-11-01 01:52:13 -07:00
parent 44b5a18462
commit 3ef766bb93
+1 -1
View File
@@ -32,7 +32,7 @@ def re_symlink(input_file, soft_link_name, log=None):
"%s exists and is not a link" % soft_link_name)
try:
os.unlink(soft_link_name)
except:
except OSError:
prdebug("Can't unlink %s" % (soft_link_name))
if not os.path.exists(input_file):