~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-19 13:23:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6386.
  • Revision ID: jelmer@canonical.com-20111219132358-uvs5a6y92gomzacd
Move importing from future until after doc string, otherwise the doc string will disappear.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from __future__ import absolute_import
18
 
 
19
17
"""On-disk mutex protecting a resource
20
18
 
21
19
bzr on-disk objects are locked by the existence of a directory with a
100
98
but helps protect against colliding host names.
101
99
"""
102
100
 
 
101
from __future__ import absolute_import
 
102
 
103
103
 
104
104
# TODO: We sometimes have the problem that our attempt to rename '1234' to
105
105
# 'held' fails because the transport server moves into an existing directory,