aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Action/UpdateMaintDb.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Action/UpdateMaintDb.pm b/lib/Youri/Submit/Action/UpdateMaintDb.pm
index 3af27f6..e9fe49a 100644
--- a/lib/Youri/Submit/Action/UpdateMaintDb.pm
+++ b/lib/Youri/Submit/Action/UpdateMaintDb.pm
@@ -47,7 +47,7 @@ sub run {
$package->get_packager() =~ m/(\w[-_.\w]+\@[-_.\w]+)\W/;
my $pkg_commiter = $1;
- $ua = LWP::UserAgent->new;
+ my $ua = LWP::UserAgent->new;
$ua->agent('Youri/0.1 ' . $ua->agent);
my $req = POST $self->{_maintdb_url},