Skip to content

Commit

Permalink
varlink/cli.py: info don't resolve, if URI contains ":"
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Dec 10, 2018
1 parent 9a97ff0 commit d1fc081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion varlink/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def varlink_help(args):

def varlink_info(args):
if args.ADDRESS:
deli = args.ADDRESS.rfind("/")
deli = args.ADDRESS.rfind(":")
if deli != -1:
address = args.ADDRESS
client = varlink.Client.new_with_address(address)
Expand Down

0 comments on commit d1fc081

Please sign in to comment.