Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/transaction.py @ 1062:6d5a62a549fa
pep-0008 cleanup
- Don't use spaces around the '=' sign when used to indicate a
keyword argument or a default parameter value.
author | benoit.boissinot@ens-lyon.fr |
---|---|
date | Fri, 26 Aug 2005 13:06:58 +0200 |
parents | 0902ffece4b4 |
children | 7b35a980b982 |
comparison
equal
deleted
inserted
replaced
1061:fed8d078840b | 1062:6d5a62a549fa |
---|---|
13 | 13 |
14 import os | 14 import os |
15 import util | 15 import util |
16 | 16 |
17 class transaction: | 17 class transaction: |
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): |
23 raise "journal already exists - run hg recover" | 23 raise "journal already exists - run hg recover" |