~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/tales.py

[r=benji][bug=698020,
        698024] Fixes a few minor UI issues with package picker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
from lp.soyuz.enums import ArchivePurpose
65
65
from lp.soyuz.interfaces.archive import IPPA
66
66
from lp.soyuz.interfaces.archivesubscriber import IArchiveSubscriberSet
 
67
from lp.soyuz.interfaces.binarypackagename import (
 
68
    IBinaryAndSourcePackageName,
 
69
    )
67
70
from lp.registry.interfaces.distribution import IDistribution
68
71
from lp.registry.interfaces.distributionsourcepackage import (
69
72
    IDistributionSourcePackage,
741
744
            return 'sprite branch'
742
745
        elif ISpecification.providedBy(context):
743
746
            return 'sprite blueprint'
 
747
        elif IBinaryAndSourcePackageName.providedBy(context):
 
748
            return 'sprite package-source'
744
749
        return None
745
750
 
746
751
    def default_logo_resource(self, context):