Commit 54e517c1 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

hooks: handle str & unicode types in Python 2

Make sure we treat unicode strings as strings under Python 2.
When we fixed rh.utils.run_command to return string (unicode)
decoded output instead of bytes, this code path broke.

Bug: 139175041
Test: repo upload works in frameworks/base again
Change-Id: Ifb0e5afc7bd6d724717beee25db81b4903d17bad
parent 99cb5dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment