~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Robey Pointer
  • Date: 2006-08-29 20:47:02 UTC
  • mto: (1711.9.9 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1975.
  • Revision ID: robey@lag.net-20060829204702-6d40ae7a33ec62c7
remove usage of has_key()

Show diffs side-by-side

added added

removed removed

Lines of Context:
798
798
        return self.run_bzr_captured(args, retcode=retcode, encoding=encoding, stdin=stdin)
799
799
 
800
800
    def run_bzr_decode(self, *args, **kwargs):
801
 
        if kwargs.has_key('encoding'):
 
801
        if 'encoding' in kwargs:
802
802
            encoding = kwargs['encoding']
803
803
        else:
804
804
            encoding = bzrlib.user_encoding