aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2007-03-23 21:08:43 +0000
committerGustavo De Nardin <spuk@mandriva.org>2007-03-23 21:08:43 +0000
commitc83fae60b22ba34e62fd00210143a92505233aa5 (patch)
treebb822425d9438829f4b7f417d68372e0240a31da
parent97ffadf0680a41b18d079280b3b900b14c1317a0 (diff)
downloadmga-youri-core-c83fae60b22ba34e62fd00210143a92505233aa5.tar
mga-youri-core-c83fae60b22ba34e62fd00210143a92505233aa5.tar.gz
mga-youri-core-c83fae60b22ba34e62fd00210143a92505233aa5.tar.bz2
mga-youri-core-c83fae60b22ba34e62fd00210143a92505233aa5.tar.xz
mga-youri-core-c83fae60b22ba34e62fd00210143a92505233aa5.zip
cleanup nonsense ('my $section = $user_context->{section};' at start ...)
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm
index fde4d19..ae7581a 100644
--- a/lib/Youri/Repository/Mandriva_upload.pm
+++ b/lib/Youri/Repository/Mandriva_upload.pm
@@ -340,9 +340,6 @@ sub _get_section {
last;
}
- # use defined section if not found
- $section = $user_context->{section} unless $section;
-
print STDERR "Can't guess destination: section missing, defaulting to contrib/release\n" unless $section;
$section ||= 'contrib/release';
return $section;