Show More
@@ -82,7 +82,7 b' def _playback(journal, report, opener, v' | |||
|
82 | 82 | pass |
|
83 | 83 | |
|
84 | 84 | class transaction(object): |
|
85 | def __init__(self, report, opener, vfsmap, journal, after=None, | |
|
85 | def __init__(self, report, opener, vfsmap, journalname, after=None, | |
|
86 | 86 | createmode=None): |
|
87 | 87 | """Begin a new transaction |
|
88 | 88 | |
@@ -104,7 +104,7 b' class transaction(object):' | |||
|
104 | 104 | self.after = after |
|
105 | 105 | self.entries = [] |
|
106 | 106 | self.map = {} |
|
107 | self.journal = journal | |
|
107 | self.journal = journalname | |
|
108 | 108 | self._queue = [] |
|
109 | 109 | # a dict of arguments to be passed to hooks |
|
110 | 110 | self.hookargs = {} |
@@ -118,7 +118,7 b' class transaction(object):' | |||
|
118 | 118 | # (cache is currently unused) |
|
119 | 119 | self._backupentries = [] |
|
120 | 120 | self._backupmap = {} |
|
121 | self._backupjournal = "%s.backupfiles" % journal | |
|
121 | self._backupjournal = "%s.backupfiles" % self.journal | |
|
122 | 122 | self._backupsfile = opener.open(self._backupjournal, 'w') |
|
123 | 123 | self._backupsfile.write('%d\n' % version) |
|
124 | 124 |
General Comments 0
You need to be logged in to leave comments.
Login now