aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Submit/Action
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-24 18:40:42 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-24 18:40:42 +0000
commit3264befbb510b7ba72e516c404ad54d6361c2973 (patch)
tree22feb2e1d43e218b16e415440a8513ffa610765e /lib/Youri/Submit/Action
parent11bc968a2b89d5b0d147c2948123a0c9cc0e5b68 (diff)
downloadmga-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)
Diffstat (limited to 'lib/Youri/Submit/Action')
-rw-r--r--lib/Youri/Submit/Action/UpdateMaintDb.pm3
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);