diff --git a/PKG-INFO b/PKG-INFO index 8f98a0ea2e01baaf3c32ddcad3460d828f1778e3..92654f668ba1da7d7dd0a57ff3bc8312bde790ae 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,14 +1,14 @@ Metadata-Version: 2.1 Name: swh.model -Version: 0.0.30 +Version: 0.0.31 Summary: Software Heritage data model Home-page: https://forge.softwareheritage.org/diffusion/DMOD/ Author: Software Heritage developers Author-email: swh-devel@inria.fr License: UNKNOWN Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest -Project-URL: Source, https://forge.softwareheritage.org/source/swh-model Project-URL: Funding, https://www.softwareheritage.org/donate +Project-URL: Source, https://forge.softwareheritage.org/source/swh-model Description: swh-model ========= diff --git a/swh.model.egg-info/PKG-INFO b/swh.model.egg-info/PKG-INFO index 8f98a0ea2e01baaf3c32ddcad3460d828f1778e3..92654f668ba1da7d7dd0a57ff3bc8312bde790ae 100644 --- a/swh.model.egg-info/PKG-INFO +++ b/swh.model.egg-info/PKG-INFO @@ -1,14 +1,14 @@ Metadata-Version: 2.1 Name: swh.model -Version: 0.0.30 +Version: 0.0.31 Summary: Software Heritage data model Home-page: https://forge.softwareheritage.org/diffusion/DMOD/ Author: Software Heritage developers Author-email: swh-devel@inria.fr License: UNKNOWN Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest -Project-URL: Source, https://forge.softwareheritage.org/source/swh-model Project-URL: Funding, https://www.softwareheritage.org/donate +Project-URL: Source, https://forge.softwareheritage.org/source/swh-model Description: swh-model ========= diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py index 083efd4504c7dbad38a26d4e9aaa50e7369ba650..e7508ebcbbb4fbe05d1a5610725a2412750498ea 100644 --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -591,8 +591,8 @@ def snapshot_identifier(snapshot, *, ignore_unresolved=False): 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')) diff --git a/version.txt b/version.txt index 8e5fdc0795b8a6b1f33792923f6722e0aac75210..60d42029e96d527ee76fe3586c8cb270128e5a07 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.0.30-0-gb8fadd1 \ No newline at end of file +v0.0.31-0-g4d40f4d \ No newline at end of file