From da4064e809b914e15baef7b7b85d3c825e1da1d0 Mon Sep 17 00:00:00 2001 From: Robert Buchholz Date: Thu, 21 Aug 2008 17:31:29 +0200 Subject: pass != return --- distfiles-indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distfiles-indexer.py b/distfiles-indexer.py index 5bbc060..5d14915 100755 --- a/distfiles-indexer.py +++ b/distfiles-indexer.py @@ -39,7 +39,7 @@ class ArchiveInfo: def write_info(self, outfiledir): outfilename = "%s.%s.INDEX" % (self.basename, self.mtime) if os.path.exists(outfilename): - pass + return self.out_fd = open(outfilename, "w") self.write_header() -- cgit v1.2.3-65-gdbad