From 10517c005c7fb6c4b43cade43a506aa7d9415459 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 1 Feb 2011 21:30:06 +0000 Subject: Fix bug that called wrong method name. --- genbackupdata | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genbackupdata b/genbackupdata index 6233989..dbdb905 100755 --- a/genbackupdata +++ b/genbackupdata @@ -76,7 +76,7 @@ class GenbackupdataApp(cliapp.Application): self.write_bytes(f, chunk_size) bytes -= chunk_size if bytes > 0: - self.write(f, bytes) + self.write_bytes(f, bytes) f.close() def write_bytes(self, f, bytes): @@ -101,4 +101,4 @@ class GenbackupdataApp(cliapp.Application): if __name__ == '__main__': GenbackupdataApp().run() - + -- cgit v1.2.1