P4DTI issue job000238

TitleBugzilla integration doesn't work with old Python versions
Assigned userNick Barnes
DescriptionThe Bugzilla integration fails on old Python versions such as 1.5. (We don't officially support these versions, but in this case the change is so small it is worth making.)
Bugzilla.py has a function convert_type() which takes three arguments. The third is a tuple. The existing code pulls the tuple apart in the argument list. That doesn't work in the Python implementation of one beta tester.
AnalysisReplace this:
    def convert_type(self, table,
                     (name, sql_type, null_p, index, default, attrs)):
With this:
    def convert_type(self, table, tuple):
        (name, sql_type, null_p, index, default, attrs) = tuple
How foundcustomer
Observed in1.0.1
Introduced in0.5.0
Created byNick Barnes
Created on2001-03-01 13:24:37
Last modified byGareth Rees
Last modified on2010-10-07 12:06:52
History2001-03-01 NB Created.


Change Effect Date User Description
9249 closed 2001-03-01 13:30:55 Nick Barnes Fix for job000238.