Skip to content

Commit 8891d87

Browse files
committed
FIX: Swapped source and commit hash
1 parent 9c8cd1f commit 8891d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/pkg_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def pkg_commit_hash(pkg_path: str | None = None) -> tuple[str, str]:
101101
return 'archive substitution', COMMIT_HASH
102102
ver = Version(__version__)
103103
if ver.local is not None and ver.local.startswith('g'):
104-
return ver.local[1:8], 'installation'
104+
return 'installation', ver.local[1:8]
105105
# maybe we are in a repository
106106
proc = run(
107107
('git', 'rev-parse', '--short', 'HEAD'),

0 commit comments

Comments
 (0)