/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/lockable_files.py

  • Committer: Martin Pool
  • Date: 2006-03-03 09:10:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060303091046-6453abf08938f714
Add LockableFiles __repr__

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
            lock_class = TransportLock
87
87
        self._lock = lock_class(transport, esc_name)
88
88
 
 
89
    def __repr__(self):
 
90
        return '%s(%r)' % (self.__class__.__name__,
 
91
                           self._transport)
 
92
 
89
93
    def _escape(self, file_or_path):
90
94
        if not isinstance(file_or_path, basestring):
91
95
            file_or_path = '/'.join(file_or_path)