~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_urllib.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:
67
67
                raise NoSuchFile(path, extra=e)
68
68
            raise
69
69
        except (BzrError, IOError), e:
70
 
            if getattr(e, 'errno', None) != None:
 
70
            if getattr(e, 'errno', None) is not None:
71
71
                mutter('io error: %s %s for has url: %r',
72
72
                    e.errno, errno.errorcode.get(e.errno), path)
73
73
                if e.errno == errno.ENOENT: