Skip to content

Commit

Permalink
removed uneeded paraenthises
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencellui-dd committed Apr 11, 2016
1 parent 39900e2 commit e22f94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winrm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def strip_namespace(self, xml):
@staticmethod
def _build_url(target, transport):
match = re.match(
'(?i)^((?P<scheme>http[s]?)://)?(?P<host>\[([0-9A-Fa-f:]+)]|[0-9a-z-_.]+)(:(?P<port>\d+))?(?P<path>(/)?(wsman)?)?', target) # NOQA
'(?i)^((?P<scheme>http[s]?)://)?(?P<host>\[[0-9A-Fa-f:]+]|[0-9a-z-_.]+)(:(?P<port>\d+))?(?P<path>(/)?(wsman)?)?', target) # NOQA
scheme = match.group('scheme')
if not scheme:
# TODO do we have anything other than HTTP/HTTPS
Expand Down

0 comments on commit e22f94e

Please sign in to comment.