Comment 6 for bug 760035

Revision history for this message
Stéphane Graber (stgraber) wrote :

Ok, the issue is that some template have template.type set to None. I updated the condition to return a match if:
template.type == source.type or template.type is None or "deb"

I also tried the unit tests with the change (sorry, I completely forgot to do it last time) and they now pass properly.