~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.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:
584
584
            sys.stdout.flush()
585
585
            return result
586
586
        except IOError, e:
587
 
            if getattr(e, 'errno', None) == None:
 
587
            if getattr(e, 'errno', None) is None:
588
588
                raise
589
589
            if e.errno != errno.EPIPE:
590
590
                # Win32 raises IOError with errno=0 on a broken pipe