~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-24 04:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 6404.
  • Revision ID: jelmer@samba.org-20111124041754-28v04pyjf76c1me5
Fix __eq__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        return (isinstance(other, FeatureFlags) and
92
92
                other._features == self._features)
93
93
 
 
94
    def __ne__(self, other):
 
95
        return (not self.__eq__(other))
 
96
 
94
97
    @classmethod
95
98
    def from_string(cls, format_text):
96
99
        """Create a feature flag list from a string."""