~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-09 08:47:06 UTC
  • Revision ID: mbp@sourcefrog.net-20050509084706-19ca82cc007ab3f8
- RemoteBranch.__str__ and repr
- Better code for locating root of remote branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
965
965
            return 2
966
966
        except Exception, e:
967
967
            quiet = False
968
 
            if isinstance(e, IOError) and e.errno == errno.EPIPE:
 
968
            if (isinstance(e, IOError) 
 
969
                and hasattr(e, 'errno')
 
970
                and e.errno == errno.EPIPE):
969
971
                quiet = True
970
972
                msg = 'broken pipe'
971
973
            else: