From: Rob Browning Date: Tue, 19 Nov 2013 16:29:08 +0000 (-0600) Subject: metadata.py: fix incorrectly indented line in Writer._add(). X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=654504e5c165072b5682ad8ad52ce87f54399606;p=packages%2Fb%2Fbup.git metadata.py: fix incorrectly indented line in Writer._add(). Thanks to Patrick Rouleau for reporting the problem. Signed-off-by: Rob Browning --- diff --git a/lib/bup/index.py b/lib/bup/index.py index 014a0eb..c3d405d 100644 --- a/lib/bup/index.py +++ b/lib/bup/index.py @@ -490,7 +490,7 @@ class Writer: if self.lastfile and self.lastfile <= ename: raise Error('%r must come before %r' % (''.join(e.name), ''.join(self.lastfile))) - self.lastfile = e.name + self.lastfile = ename self.level = _golevel(self.level, self.f, ename, entry, self.metastore, self.tmax)