~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/webservice.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-22 05:56:29 UTC
  • mfrom: (13492.1.1 revert-r13485)
  • Revision ID: launchpad@pqm.canonical.com-20110722055629-0y8ss6zvhjcoo12r
[r=wgrant][rollback=13485] Revert r13485. It prevents form pickers
 from being attached to their text widgets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    'IProcessor',
36
36
    'IProcessorFamily',
37
37
    'IProcessorFamilySet',
38
 
    'IProcessorSet',
39
38
    'ISourcePackagePublishingHistory',
40
39
    'IncompatibleArguments',
41
40
    'InsufficientUploadRights',
97
96
    IProcessor,
98
97
    IProcessorFamily,
99
98
    IProcessorFamilySet,
100
 
    IProcessorSet,
101
99
    )
102
100
from lp.soyuz.interfaces.publishing import (
103
101
    IBinaryPackagePublishingHistory,
107
105
 
108
106
from canonical.launchpad.components.apihelpers import (
109
107
    patch_collection_property,
 
108
    patch_entry_return_type,
110
109
    patch_plain_parameter_type,
111
110
    patch_reference_property,
112
111
    )
116
115
from canonical.launchpad.interfaces import _schema_circular_imports
117
116
_schema_circular_imports
118
117
 
 
118
from lazr.restful.declarations import LAZR_WEBSERVICE_EXPORTED
 
119
IProcessorFamilySet.queryTaggedValue(
 
120
    LAZR_WEBSERVICE_EXPORTED)['collection_entry_schema'] = IProcessorFamily
 
121
 
119
122
# IProcessor
120
123
patch_reference_property(
121
124
    IProcessor, 'family', IProcessorFamily)
122
125
 
 
126
patch_entry_return_type(IProcessorFamilySet, 'getByName', IProcessorFamily)
123
127
patch_collection_property(
124
128
    IArchive, 'enabled_restricted_families', IProcessorFamily)
125
129
patch_plain_parameter_type(