diff --git a/2.6/get-pip.py b/2.6/get-pip.py index 723ac5de..0f1889ac 100755 --- a/2.6/get-pip.py +++ b/2.6/get-pip.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip": diff --git a/3.2/get-pip.py b/3.2/get-pip.py index e98dd6ba..0f073fda 100755 --- a/3.2/get-pip.py +++ b/3.2/get-pip.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip": diff --git a/3.3/get-pip.py b/3.3/get-pip.py index a5d20a15..5e2ceb64 100755 --- a/3.3/get-pip.py +++ b/3.3/get-pip.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip": diff --git a/get-pip.py b/get-pip.py index 9088d6d1..a341dc06 100755 --- a/get-pip.py +++ b/get-pip.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip": diff --git a/templates/default.py b/templates/default.py index 9991ffcb..9d7b8741 100644 --- a/templates/default.py +++ b/templates/default.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip": diff --git a/templates/pre-10.py b/templates/pre-10.py index 194746f1..1a7a5b0c 100644 --- a/templates/pre-10.py +++ b/templates/pre-10.py @@ -135,7 +135,7 @@ def parse_args(self, args): for arg in args: try: req = InstallRequirement.from_line(arg) - except: + except Exception: continue if implicit_pip and req.name == "pip":