Package: python-support
Version: 0.4.1
Severity: important
Tags: patch

pysupport.py does not strip whitespace when processing python versions
that modules specify. Some modules (see, for example, #385099) have
spaces and hence are not properly handled by update-python-modules. The
simple patch attached fixes this issue.

Thanks
--- pysupport.py.orig   2006-08-29 16:35:39.000000000 +1000
+++ pysupport.py        2006-08-29 16:34:21.000000000 +1000
@@ -36,6 +36,7 @@
           except ValueError:
             pass
       else:
+       v[0]=v[0].strip()
         dummylist.append(v[0])
         if v[0] in py_supported_short:
           self.verlist.append(v[0])

Attachment: signature.asc
Description: Digital signature

Reply via email to