Skip to content

Commit

Permalink
update url validity test for Python 3 (ros#18378)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jul 6, 2018
1 parent 734df85 commit dbd55c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_url_validity.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def check_git_remote_exists(url, version, tags_valid=False):
cmd = ('git ls-remote %s refs/heads/*' % url).split()

try:
output = subprocess.check_output(cmd)
output = subprocess.check_output(cmd).decode('utf-8')
except:
return False
if not version:
Expand All @@ -98,7 +98,7 @@ def check_git_remote_exists(url, version, tags_valid=False):
cmd = ('git ls-remote %s refs/tags/*' % url).split()

try:
output = subprocess.check_output(cmd)
output = subprocess.check_output(cmd).decode('utf-8')
except:
return False

Expand Down

0 comments on commit dbd55c4

Please sign in to comment.