comparison mercurial/lock.py @ 1836:cd5c1db2132a

make lock module use demandload.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 05 Mar 2006 01:37:28 -0800
parents e431344e604c
children d314a89fa4f1
comparison
equal deleted inserted replaced
1835:bdfb524d728a 1836:cd5c1db2132a
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 import errno, os, time 8 from demandload import *
9 import util 9 demandload(globals(), 'errno os time util')
10 10
11 class LockException(Exception): 11 class LockException(Exception):
12 pass 12 pass
13 class LockHeld(LockException): 13 class LockHeld(LockException):
14 pass 14 pass