From: Rob Browning Date: Thu, 3 Apr 2014 18:20:45 +0000 (-0500) Subject: index.py: fix typo in Writer._add. X-Git-Tag: 0.26-rc1~19 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=abe39129a1abe168aa4abedd393f231596b5bff0 index.py: fix typo in Writer._add. Thanks to bk for reporting the problem. Signed-off-by: Rob Browning --- diff --git a/lib/bup/index.py b/lib/bup/index.py index c3d405d..4aec5c7 100644 --- a/lib/bup/index.py +++ b/lib/bup/index.py @@ -489,7 +489,7 @@ class Writer: def _add(self, ename, entry): if self.lastfile and self.lastfile <= ename: raise Error('%r must come before %r' - % (''.join(e.name), ''.join(self.lastfile))) + % (''.join(ename), ''.join(self.lastfile))) self.lastfile = ename self.level = _golevel(self.level, self.f, ename, entry, self.metastore, self.tmax)