Skip to content

Commit 059c042

Browse files
committed
find: fix error message formatting ...
... now it finally displays the correct subpackage name
1 parent 3d868fd commit 059c042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acbs/find.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def check_package_groups(packages: List[ACBSPackageInfo]):
140140
logging.error('Package {} (in {}) has a different sequential order (#{}) after dependency resolution (should be #{})'.format(
141141
pkg.name, base_slug, pkg.group_seq, groups_seen[base_slug] + 1))
142142
logging.error('This might indicate a dependency cycle between the sub-packages (needs bootstrapping?) ...')
143-
logging.error('... or maybe the sub-package should be named {}-{:02d}'.format(pkg.name, groups_seen[base_slug] + 1))
143+
logging.error('... or maybe the sub-package should be named {:02d}-{}'.format(groups_seen[base_slug] + 1, pkg.name))
144144
logging.error('Please check which situation this package is in and fix it.')
145145
raise ValueError('Specified sub-package order contradicts with the dependency resolution results')
146146
else:

0 commit comments

Comments
 (0)