Mercurial > public > mercurial-scm > hg-stable
diff 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 |
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