From 11bc968a2b89d5b0d147c2948123a0c9cc0e5b68 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 24 Mar 2011 17:36:02 +0000 Subject: fix syntax --- lib/Youri/Submit/Action/UpdateMaintDb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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}, -- cgit v1.2.1