Skip to content

Commit

Permalink
Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Jun 18, 2020
1 parent dc25724 commit 872f213
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sdk/core/azure-core/azure/core/pipeline/transport/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,8 @@ def format_url(self, url_template, **kwargs):
try:
base = self._base_url.format(**kwargs).rstrip("/")
except KeyError as key:
raise ValueError(
"The value provided for the url part {} was incorrect, and resulted in an invalid url".format(key.args[0])
)
err_msg = "The value provided for the url part {} was incorrect, and resulted in an invalid url"
raise ValueError(err_msg.format(key.args[0]))

url = _urljoin(base, url)
else:
Expand Down

0 comments on commit 872f213

Please sign in to comment.