Skip to content

Commit 80780a6

Browse files
authored
Merge pull request #30 from webknjaz/bugfix/linter-complaints-except
Fix flake8 complaints regarding except w/o arg
2 parents 51c9fa2 + 3de6105 commit 80780a6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

2.6/get-pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

3.2/get-pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

3.3/get-pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

get-pip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

templates/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

templates/pre-10.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_args(self, args):
135135
for arg in args:
136136
try:
137137
req = InstallRequirement.from_line(arg)
138-
except:
138+
except Exception:
139139
continue
140140

141141
if implicit_pip and req.name == "pip":

0 commit comments

Comments
 (0)