##// END OF EJS Templates
cleanup: name unused variables using convention of leading _...
Mads Kiilerich -
r22204:f8dc6599 default
parent child Browse files
Show More
@@ -24,7 +24,7 def active(func):
24 24 return _active
25 25
26 26 def _playback(journal, report, opener, entries, backupentries, unlink=True):
27 for f, o, ignore in entries:
27 for f, o, _ignore in entries:
28 28 if o or not unlink:
29 29 try:
30 30 fp = opener(f, 'a')
@@ -41,7 +41,7 def _playback(journal, report, opener, e
41 41 raise
42 42
43 43 backupfiles = []
44 for f, b, ignore in backupentries:
44 for f, b, _ignore in backupentries:
45 45 filepath = opener.join(f)
46 46 backuppath = opener.join(b)
47 47 try:
@@ -265,7 +265,7 class transaction(object):
265 265 self.opener.unlink(self.journal)
266 266 if self.opener.isfile(self.backupjournal):
267 267 self.opener.unlink(self.backupjournal)
268 for f, b, _ignore in self.backupentries:
268 for _f, b, _ignore in self.backupentries:
269 269 self.opener.unlink(b)
270 270 self.backupentries = []
271 271 self.journal = None
General Comments 0
You need to be logged in to leave comments. Login now