Show More
@@ -225,13 +225,13 b' class transaction(object):' | |||||
225 | self._backupsfile.flush() |
|
225 | self._backupsfile.flush() | |
226 |
|
226 | |||
227 | @active |
|
227 | @active | |
228 | def registertmp(self, tmpfile): |
|
228 | def registertmp(self, tmpfile, location=''): | |
229 | """register a temporary transaction file |
|
229 | """register a temporary transaction file | |
230 |
|
230 | |||
231 | Such file will be delete when the transaction exit (on both failure and |
|
231 | Such file will be delete when the transaction exit (on both failure and | |
232 | success). |
|
232 | success). | |
233 | """ |
|
233 | """ | |
234 |
self._addbackupentry(( |
|
234 | self._addbackupentry((location, '', tmpfile, False)) | |
235 |
|
235 | |||
236 | @active |
|
236 | @active | |
237 | def addfilegenerator(self, genid, filenames, genfunc, order=0, |
|
237 | def addfilegenerator(self, genid, filenames, genfunc, order=0, |
General Comments 0
You need to be logged in to leave comments.
Login now