~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
449
449
        if not self.parse_request(): # An error code has been sent, just exit
450
450
            return
451
451
        mname = 'do_' + self.command
452
 
        if getattr(self, mname, None) == None:
 
452
        if getattr(self, mname, None) is None:
453
453
            self.send_error(501, "Unsupported method (%r)" % self.command)
454
454
            return
455
455
        method = getattr(self, mname)