Skip to content

Commit 0969d71

Browse files
fix: replace 1 bare except clause with except Exception
1 parent 48a8d53 commit 0969d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awscli/customizations/ec2/addcount.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def add_to_params(self, parameters, value):
9090
minstr, maxstr = (value, value)
9191
parameters['MinCount'] = int(minstr)
9292
parameters['MaxCount'] = int(maxstr)
93-
except:
93+
except Exception:
9494
msg = ('count parameter should be of '
9595
'form min[:max] (e.g. 1 or 1:10)')
9696
raise ValueError(msg)

0 commit comments

Comments
 (0)