~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/pillaraffiliation.py

[r=stevenk][bug=823644] Fix badge icon bug for person affiliation
 functionaility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
                    icon_url = context.icon.getURL()
97
97
                    return icon_url
98
98
                if IHasIcon.providedBy(pillar) and pillar.icon is not None:
99
 
                    icon_url = context.icon.getURL()
 
99
                    icon_url = pillar.icon.getURL()
100
100
                    return icon_url
101
101
                return default_url
102
102