mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix traceback in gitfs unit tests
This commit is contained in:
parent
21918efb5e
commit
0186281d7d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user