Skip to content

Commit f583fee

Browse files
committed
on_build_vers fixes and logging
1 parent ba86b9b commit f583fee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lilac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,10 @@ def try_pick_some(
354354
db.mark_pkg_as(s, pkg, 'done')
355355
db.build_updated(s)
356356
continue
357+
logger.debug('on_build_vers: %r', vers)
357358
to_build = PkgToBuild(pkg, vers)
358359
except Exception as e:
359-
logger.exception('check_update_on_build')
360+
logger.exception('get_update_on_build_vers')
360361
mod = repo.lilacinfos[pkg]
361362
l10n = intl.get_l10n('mail')
362363
repo.send_error_report(

lilac2/db.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def get_update_on_build_vers(
110110
if not old and not new:
111111
logger.warning('no built info for %s but try to build on build it?',
112112
on_build.pkgbase)
113-
continue
114113

115114
if (regex := on_build.from_pattern) and (repl := on_build.to_pattern):
116115
old = re.sub(regex, repl, old)

0 commit comments

Comments
 (0)