aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2007-03-23 20:10:35 +0000
committerGustavo De Nardin <spuk@mandriva.org>2007-03-23 20:10:35 +0000
commitd5c2d73b249e5f89227419d86584321a8730cf42 (patch)
treea975958eedbfc4de3ca172c765cf46113853a812
parentb633b75223b178c24022d7a78a52a4ced7e7a6c9 (diff)
downloadmga-youri-core-d5c2d73b249e5f89227419d86584321a8730cf42.tar
mga-youri-core-d5c2d73b249e5f89227419d86584321a8730cf42.tar.gz
mga-youri-core-d5c2d73b249e5f89227419d86584321a8730cf42.tar.bz2
mga-youri-core-d5c2d73b249e5f89227419d86584321a8730cf42.tar.xz
mga-youri-core-d5c2d73b249e5f89227419d86584321a8730cf42.zip
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.
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm2
1 files changed, 1 insertions, 1 deletions
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',