[lint] Limit unneccessarily broad except clauses

Add exception qualifier(s) to bare except clauses swallowing exceptions.
This commit is contained in:
Hornwitser
2018-11-24 22:17:57 -05:00
committed by Rapptz
parent 860d6a9ace
commit a71b3b5fa0
11 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ class Command:
try:
module = converter.__module__
except:
except AttributeError:
pass
else:
if module.startswith('discord.') and not module.endswith('converter'):