[buildd-tools-devel] Bug#696841: same for upload_queues

Wouter Verhelst wouter at debian.org
Sun Dec 30 15:14:21 UTC 2012


On Fri, Dec 28, 2012 at 02:49:58PM +0000, Thorsten Glaser wrote:
> Hi,
> 
> 	$upload_queues = […];
> must also be changed into

What do you mean by "changed"? The example in my previous mail, as well
as on wiki.debian.org, shows that you need to use (), not [], to
construct the options...

if you misread and/or miscopy things, obviously they won't work ;-)

> 	@upload_queues = (…);
> otherwise one gets an error instead of an uploader:
> 
> Can't call method "get" on unblessed reference at /usr/share/perl5/Buildd/Uploader.pm line 69.

That's because you're passing an anonymous array reference rather than a
list as an array initializer, which doesn't work.

-- 
Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.



More information about the Buildd-tools-devel mailing list