~pwlars/checkbox/impl-unit-flakes

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/secure/plugins.py

  • Committer: Sylvain Pineau
  • Author(s): Paul Larson
  • Date: 2016-05-16 22:32:21 UTC
  • mfrom: (4350.1.1 further-warning-removal)
  • Revision ID: sylvain_pineau-20160516223221-8ruzrb39dmyp27rv
"automatic merge of lp:~pwlars/checkbox/fix-remaining-self-test-warnings/ by tarmac [r=kissiel][bug=][author=pwlars]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
    Exception that may be raised by PlugIn.__init__() to signal it cannot
116
116
    be fully loaded and should not be added to any collection.
117
117
    """
 
118
    def __eq__(self, other):
 
119
        if isinstance(other, PlugInError):
 
120
            return True
 
121
        return NotImplemented
 
122
 
 
123
    def __ne__(self, other):
 
124
        if isinstance(other, PlugInError):
 
125
            return False
 
126
        return NotImplemented
118
127
 
119
128
 
120
129
class PlugIn(IPlugIn):