Package: debhelper
Version: 5.0.37.2
Severity: minor
Tags: patch
Someone reported me that dh_python generates a warning about use of an
unitialized value. This will happen if you have no debian/pyversions, no
XS-Python-Version field and happen to run with debian/pycompat=2.
Here's the patch to fix this issue:
--- dh_python
+++ dh_python
@@ -630,8 +630,8 @@
$min = min(@versions);
$max = max(@versions);
- $min = "" if ($min eq "0.0");
- $max = "" if ($max eq "100.0");
+ $min = "" if (!defined($min) or $min eq "0.0");
+ $max = "" if (!defined($max) or $max eq "100.0");
@versions = grep { $_ ne "0.0" and $_ ne "100.0" } @versions;
The script still gives the expected output so it's only minor and there's
no need to hurry a new upload just for that.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages debhelper depends on:
ii binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina
ii coreutils 5.96-3 The GNU core utilities
ii dpkg-dev 1.13.21 package building tools for Debian
ii file 4.17-2 Determines file type using "magic"
ii html2text 1.3.2a-3 An advanced HTML to text converter
ii perl 5.8.8-6 Larry Wall's Practical Extraction
ii po-debconf 1.0.2 manage translated Debconf template
debhelper recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]