~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-09 02:31:23 UTC
  • mfrom: (4090.2.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090309023123-7hvnfrilrt5ql771
compare types with is not '=' (Benjamin Peterson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
966
966
        else:
967
967
            options.append('fulltext')
968
968
            # isinstance is slower and we have no hierarchy.
969
 
            if self._factory.__class__ == KnitPlainFactory:
 
969
            if self._factory.__class__ is KnitPlainFactory:
970
970
                # Use the already joined bytes saving iteration time in
971
971
                # _record_to_data.
972
972
                size, bytes = self._record_to_data(key, digest,