]> git.donarmstrong.com Git - debhelper.git/commitdiff
r588: * Typo fixes from Adam Garside.
authorjoey <joey>
Sat, 24 May 2003 15:56:13 +0000 (15:56 +0000)
committerjoey <joey>
Sat, 24 May 2003 15:56:13 +0000 (15:56 +0000)
   * dh_python: don't bother terminating the regexp, 2.2.3c1 for example.
Closes: #194531
debian/changelog
dh_python

index bd24cb4b8003c17ba5f8843b7843b5ece91051ad..902c451f3b8fbc2733897844f6d89c25b3883bd3 100644 (file)
@@ -1,9 +1,10 @@
 debhelper (4.1.45) unstable; urgency=low
 
-UNRE
   * Typo fixes from Adam Garside.
+  * dh_python: don't bother terminating the regexp, 2.2.3c1 for example.
+    Closes: #194531
 
- -- Joey Hess <joeyh@debian.org>  Thu, 22 May 2003 21:28:17 -0400
+ -- Joey Hess <joeyh@debian.org>  Sat, 24 May 2003 11:55:32 -0400
 
 debhelper (4.1.44) unstable; urgency=low
 
index 3a001bd419153b88454ecca2939398ecded8c1a7..d936f31845ba8cd79735fb157315066afdd3e71e 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -67,7 +67,7 @@ my $python_version = `$python -V 2>&1`;
 if ("$python_version" eq "") {
        error("Python is not installed, aborting. (Probably forgot to Build-Depend on python.)");
 }
-elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)\.\d+\+?\n$/) {
+elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)\.\d+/) {
        $python_version = "$1.$2" ;
        $python_major = $1 ;
 } else {