changeset 1836:cd5c1db2132a

make lock module use demandload.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 05 Mar 2006 01:37:28 -0800
parents bdfb524d728a
children 6f67a4c93493 429bf036f2cb 7f12a63568ae 85daa4e03b4c
files mercurial/lock.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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