diff options
author | Florent Villard <warly@mandriva.com> | 2006-08-05 08:38:25 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-08-05 08:38:25 +0000 |
commit | 387d16e383eaafebea11519fe0ddd52aa57e31d7 (patch) | |
tree | d906243774ae6b0e4b4c139d8cf785dceaf6629d /bin/youri-upload.in | |
parent | be324c8031430610211b3bb487c23181fa786104 (diff) | |
download | mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.gz mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.bz2 mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.xz mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.zip |
now youri use config->get instead of %options
Diffstat (limited to 'bin/youri-upload.in')
-rwxr-xr-x | bin/youri-upload.in | 4 |
1 files changed, 2 insertions, 2 deletions
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) ); |