Fix traceback in gitfs unit tests

This commit is contained in:
Erik Johnson 2018-01-23 19:49:58 -06:00
parent 21918efb5e
commit 0186281d7d
No known key found for this signature in database
GPG Key ID: 5E5583C437808F3F

View File

@ -446,7 +446,7 @@ class GitProvider(object):
use_tags = 'tag' in self.ref_types
ret = set()
for ref in refs:
for ref in salt.utils.data.decode(refs):
if ref.startswith('refs/'):
ref = ref[5:]
rtype, rname = ref.split('/', 1)