diff options
author | joey <joey> | 2003-08-08 16:00:12 +0000 |
---|---|---|
committer | joey <joey> | 2003-08-08 16:00:12 +0000 |
commit | 742d35523bbb24a4da8860f0a46701244dd5e214 (patch) | |
tree | 493c942df89444a7386d1ee99e6ecea9f6ff017a /dh_python | |
parent | 1b294974795510843d19adc178e936eb4f2c65bb (diff) |
r1580: * dh_python: support python ver 2.3. Closes: #204556
Diffstat (limited to 'dh_python')
-rwxr-xr-x | dh_python | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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+/) { +elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)(\.\d+)*/) { $python_version = "$1.$2" ; $python_major = $1 ; } else { |