diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-03-24 18:40:42 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-03-24 18:40:42 +0000 |
commit | 3264befbb510b7ba72e516c404ad54d6361c2973 (patch) | |
tree | 22feb2e1d43e218b16e415440a8513ffa610765e | |
parent | 11bc968a2b89d5b0d147c2948123a0c9cc0e5b68 (diff) | |
download | mga-youri-submit-3264befbb510b7ba72e516c404ad54d6361c2973.tar mga-youri-submit-3264befbb510b7ba72e516c404ad54d6361c2973.tar.gz mga-youri-submit-3264befbb510b7ba72e516c404ad54d6361c2973.tar.bz2 mga-youri-submit-3264befbb510b7ba72e516c404ad54d6361c2973.tar.xz mga-youri-submit-3264befbb510b7ba72e516c404ad54d6361c2973.zip |
fix username of submitter (thanks to pterjan)
-rw-r--r-- | lib/Youri/Submit/Action/UpdateMaintDb.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Action/UpdateMaintDb.pm b/lib/Youri/Submit/Action/UpdateMaintDb.pm index e9fe49a..10eed21 100644 --- a/lib/Youri/Submit/Action/UpdateMaintDb.pm +++ b/lib/Youri/Submit/Action/UpdateMaintDb.pm @@ -44,8 +44,7 @@ sub run { unless ($self->{_test}) { my $pkg_name = $package->get_name(); my $pkg_media = $repository->_get_main_section($package, $target, $define); - $package->get_packager() =~ m/(\w[-_.\w]+\@[-_.\w]+)\W/; - my $pkg_commiter = $1; + my $pkg_commiter = $define->{user}; my $ua = LWP::UserAgent->new; $ua->agent('Youri/0.1 ' . $ua->agent); |