Mercurial > hg
comparison mercurial/transaction.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 345bac2bc4ec |
children | 6b4127c7d52a |
comparison
equal
deleted
inserted
replaced
3876:1e0b94cfba0e | 3877:abaee83ce0a6 |
---|---|
9 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> | 9 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
10 # | 10 # |
11 # This software may be used and distributed according to the terms | 11 # This software may be used and distributed according to the terms |
12 # of the GNU General Public License, incorporated herein by reference. | 12 # of the GNU General Public License, incorporated herein by reference. |
13 | 13 |
14 from demandload import demandload | |
15 from i18n import gettext as _ | 14 from i18n import gettext as _ |
16 demandload(globals(), 'os') | 15 import os |
17 | 16 |
18 class transaction(object): | 17 class transaction(object): |
19 def __init__(self, report, opener, journal, after=None): | 18 def __init__(self, report, opener, journal, after=None): |
20 self.journal = None | 19 self.journal = None |
21 | 20 |