~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/widgets/owner.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:23:31 UTC
  • mfrom: (14564.4.2 megalint-7)
  • Revision ID: launchpad@pqm.canonical.com-20111222042331-ldeo5z018n8bq6x1
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
__metaclass__ = type
43
43
 
44
44
    def getInputValue(self):
45
45
        '''See zope.app.form.interfaces.IInpputWidget'''
46
 
        raise NotImplementedError, 'getInputValue'
 
46
        raise NotImplementedError('getInputValue')
47
47
 
48
48
    def applyChanges(self, content):
49
49
        '''See zope.app.form.interfaces.IInputWidget'''
85
85
 
86
86
class HiddenUserWidget(RequestWidget):
87
87
    implements(IUserWidget)
 
88
 
88
89
    def __init__(self, context, vocabulary, request=None):
89
90
        '''Construct the HiddenUserWidget.
90
91