Skip to content

Commit

Permalink
Added to-do note about unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Mar 18, 2019
1 parent b430d0e commit 0e03c80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/recipe_robot_lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ def inspect_disk_image(input_path, args, facts):
except shutil.Error:
pass
# Unmount attached volume when done.
cmd = '/usr/bin/hdiutil detach "%s"' % dmg_mount
# TODO: Handle unicode characters here. Example:
# http://download.ap.bittorrent.com/track/stable/endpoint/utmac/os/osx
cmd = '/usr/bin/hdiutil detach "{}"'.format(dmg_mount)
exitcode, out, err = get_exitcode_stdout_stderr(cmd)
facts = inspect_app(cached_app_path, args, facts)
break
Expand Down

0 comments on commit 0e03c80

Please sign in to comment.