From d5c2d73b249e5f89227419d86584321a8730cf42 Mon Sep 17 00:00:00 2001 From: Gustavo De Nardin Date: Fri, 23 Mar 2007 20:10:35 +0000 Subject: Don't memoize _get_section(). In some conditions, I saw debugging messages like "section contrib/release main_section main" printed by Youri::Submit::Action::Archive, which makes no sense and seem very likely caused by memoize. Didn't see them anymore without memoize. So I think _get_section() is not a proper function for use with memoize, or better/more advanced use is required for it. --- lib/Youri/Repository/Mandriva_upload.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm index 64c111a..3f0d8d9 100644 --- a/lib/Youri/Repository/Mandriva_upload.pm +++ b/lib/Youri/Repository/Mandriva_upload.pm @@ -25,7 +25,7 @@ use constant { PACKAGE_CHARSET => 'utf8' }; -memoize('_get_section', '_get_media_config'); +memoize('_get_media_config'); my %translate_arch = ( i386 => 'i586', -- cgit v1.2.1