make lock module use demandload.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Sun, 05 Mar 2006 01:37:28 -0800
changeset 1836 cd5c1db2132a
parent 1835 bdfb524d728a
child 1837 6f67a4c93493
child 1838 429bf036f2cb
child 1841 7f12a63568ae
child 1929 85daa4e03b4c
make lock module use demandload.
mercurial/lock.py
--- a/mercurial/lock.py	Sat Mar 04 19:01:45 2006 +0100
+++ b/mercurial/lock.py	Sun Mar 05 01:37:28 2006 -0800
@@ -5,8 +5,8 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import errno, os, time
-import util
+from demandload import *
+demandload(globals(), 'errno os time util')
 
 class LockException(Exception):
     pass