~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

Merge bzr.dev.

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 not hasattr(e, 'errno'):
 
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