From 8214c96ee9a1407656073190165257cb68802c7b Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Mon, 23 Feb 2009 09:59:35 -0500 Subject: [PATCH] insert files, not dirs Signed-off-by: Mike O'Connor --- daklib/binary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/binary.py b/daklib/binary.py index c6fc1174..f9cf2437 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -142,7 +142,7 @@ class Binary(object): elif self.chunks[2] == "data.tar.bz2": data = tarfile.open(os.path.join(self.tmpdir, "data.tar.bz2" ), "r:bz2") - return DBConn().insert_content_paths(pkg, [ tarinfo.name for tarinfo in data if tarinfo.isdir()]) + return DBConn().insert_content_paths(pkg, [ tarinfo.name for tarinfo in data if not tarinfo.isdir()]) except: traceback.print_exc() -- 2.39.5