diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -591,8 +591,8 @@ if unresolved and not ignore_unresolved: raise ValueError('Branch aliases unresolved: %s' % - ', '.join('%s -> %s' % (name, target) - for name, target in unresolved)) + ', '.join('%s -> %s' % x for x in unresolved), + unresolved) return identifier_to_str(hash_git_data(b''.join(lines), 'snapshot'))