[Debian-l10n-commits] r1053 - /dl10n/trunk/lib/Debian/Pkg/Tar.pm
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Sat Jun 7 13:05:30 UTC 2008
Author: nekral-guest
Date: Sat Jun 7 13:05:30 2008
New Revision: 1053
URL: http://svn.debian.org/wsvn/?sc=1&rev=1053
Log:
The warnings raised in lib/Debian/Pkg/Tar.pm might not be necessary.
Add a TODO for latter.
Modified:
dl10n/trunk/lib/Debian/Pkg/Tar.pm
Modified: dl10n/trunk/lib/Debian/Pkg/Tar.pm
URL: http://svn.debian.org/wsvn/dl10n/trunk/lib/Debian/Pkg/Tar.pm?rev=1053&op=diff
==============================================================================
--- dl10n/trunk/lib/Debian/Pkg/Tar.pm (original)
+++ dl10n/trunk/lib/Debian/Pkg/Tar.pm Sat Jun 7 13:05:30 2008
@@ -399,6 +399,8 @@
if ($self->{dir} ne "" && $self->{dir} ne $1) {
$name = $1 . '/' . $name;
$self->{wrongdir} = 1;
+# TODO: Check if this is handled correctly.
+# If it is, this should not be reported.
warn "Warning: unable to determine top-level directory in $self->{name}, assuming there is no root directory\n";
# Adapt already scanned files and
# directories
@@ -413,6 +415,8 @@
} else {
if ($self->{wrongdir} == 0) {
$self->{wrongdir} = 1;
+# TODO: Check if this is handled correctly.
+# If it is, this should not be reported.
warn "Warning: unable to determine top-level directory in $self->{name}, assuming there is no root directory\n";
$self->_prepend_dir($self->{dir}) if $self->{dir} ne '';
}
More information about the Debian-l10n-commits
mailing list