Skip to content
Myr

Remove no-op try/except (#1521)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Joshua Bronson · committed by GitHub · parent c3eac6b · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:src/click/_termui_impl.py+2 added-4 removed
530 unmodified lines
531def open_url(url, wait=False, locate=False):532 import subprocess533534 def _unquote_file(url):535 try:536 import urllib537 except ImportError:538 import urllib535 import urllib536537 if url.startswith("file://"):538 url = urllib.unquote(url[7:])539 return url540
138 unmodified lines