/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Robey Pointer
  • Date: 2006-09-03 00:13:54 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060903001354-1f596a529c9c4934
remove usage of hasattr

Show diffs side-by-side

added added

removed removed

Lines of Context:
585
585
            sys.stdout.flush()
586
586
            return result
587
587
        except IOError, e:
588
 
            if not hasattr(e, 'errno'):
 
588
            if getattr(e, 'errno', None) == None:
589
589
                raise
590
590
            if e.errno != errno.EPIPE:
591
591
                # Win32 raises IOError with errno=0 on a broken pipe