Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/transaction.py @ 1559:59b3639df0a9
Convert all classes to new-style classes by deriving them from object.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Fri, 18 Nov 2005 22:48:47 -0800 |
parents | bf4e7ef08741 |
children | a2c69737e65e |
comparison
equal
deleted
inserted
replaced
1554:68ec7b9e09a4 | 1559:59b3639df0a9 |
---|---|
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 import os | 14 import os |
15 from i18n import gettext as _ | 15 from i18n import gettext as _ |
16 | 16 |
17 class transaction: | 17 class transaction(object): |
18 def __init__(self, report, opener, journal, after=None): | 18 def __init__(self, report, opener, journal, after=None): |
19 self.journal = None | 19 self.journal = None |
20 | 20 |
21 # abort here if the journal already exists | 21 # abort here if the journal already exists |
22 if os.path.exists(journal): | 22 if os.path.exists(journal): |