diff --git a/infrastructure/lib/DPB/Engine.pm b/infrastructure/lib/DPB/Engine.pm index 4143e28c4c1..f96caea6daf 100644 --- a/infrastructure/lib/DPB/Engine.pm +++ b/infrastructure/lib/DPB/Engine.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Engine.pm,v 1.8 2010/10/27 22:53:33 espie Exp $ +# $OpenBSD: Engine.pm,v 1.9 2010/10/27 22:58:02 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -318,7 +318,6 @@ sub rebuild_info } my @subdirs = map {$_->fullpkgpath} @l; $self->{grabber}->grab_subdirs($core, \@subdirs); - # XXX todo something needs to happen after the rescan ? } sub start_new_job diff --git a/infrastructure/lib/DPB/Locks.pm b/infrastructure/lib/DPB/Locks.pm index 5b491a0f46c..26ddc041f29 100644 --- a/infrastructure/lib/DPB/Locks.pm +++ b/infrastructure/lib/DPB/Locks.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Locks.pm,v 1.3 2010/10/27 12:58:26 espie Exp $ +# $OpenBSD: Locks.pm,v 1.4 2010/10/27 22:58:02 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -117,12 +117,11 @@ sub recheck_errors if ($self->locked($v)) { push(@{$engine->{$name}}, $v); } else { -# XXX not ready yet -# if ($name eq 'errors') { -# $engine->rescan($v); -# } else { + if ($name eq 'errors') { + $engine->rescan($v); + } else { $engine->requeue($v); -# } + } } } }