diff mercurial/transaction.py @ 2470:fe1689273f84

use demandload more.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 20 Jun 2006 23:58:21 -0700
parents d66278012853
children 345bac2bc4ec
line wrap: on
line diff
--- a/mercurial/transaction.py	Mon Jun 19 20:37:36 2006 +0200
+++ b/mercurial/transaction.py	Tue Jun 20 23:58:21 2006 -0700
@@ -11,8 +11,9 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import os
+from demandload import demandload
 from i18n import gettext as _
+demandload(globals(), 'os')
 
 class transaction(object):
     def __init__(self, report, opener, journal, after=None):