Cleanup: use specific exception types where appropriate
This commit is contained in:
@@ -119,7 +119,7 @@ for d in dir(bpy.types):
|
||||
t = getattr(bpy.types, d)
|
||||
try:
|
||||
r = t.bl_rna
|
||||
except:
|
||||
except AttributeError:
|
||||
r = None
|
||||
if r:
|
||||
seek(r, 'bpy.types.' + d + '.bl_rna', 0)
|
||||
|
||||
Reference in New Issue
Block a user