From 387d16e383eaafebea11519fe0ddd52aa57e31d7 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Sat, 5 Aug 2006 08:38:25 +0000 Subject: now youri use config->get instead of %options --- bin/youri-upload.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/youri-upload.in b/bin/youri-upload.in index 9a8c962..d48afa5 100755 --- a/bin/youri-upload.in +++ b/bin/youri-upload.in @@ -209,7 +209,7 @@ eval { $repository = create_instance( 'Youri::Repository', test => $test, - user => $options{user}, + user => $config->get('user'), verbose => $verbose > 0 ? $verbose - 1 : 0, targets => [ keys %targets ], $config->get_section($repository_id) @@ -241,7 +241,7 @@ foreach my $id (@{$target{checks}}) { 'Youri::Upload::Check', id => $id, test => $test, - user => $options{user}, + user => $config->get('user'), verbose => $verbose > 0 ? $verbose - 1 : 0, $config->get_section($id) ); -- cgit v1.2.1