From 1831c400e656d330827cc4e26c8f9f44b4c8c87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Mon, 17 Aug 2009 10:48:16 +0000 Subject: [PATCH] Replace if by elif, fix indentation problem --- pisi/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/util.py b/pisi/util.py index 91e30fce..4c9687b6 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -513,7 +513,7 @@ def strip_file(filepath, fileinfo, outpath): run_strip(filepath, "--strip-debug") return True - """ + """ if "SB relocatable" in fileinfo and filepath.endswith(".ko"): # kernel module if ctx.config.values.build.generatedebug: @@ -521,9 +521,9 @@ def strip_file(filepath, fileinfo, outpath): save_elf_debug(filepath, outpath) run_strip(filepath, "--strip-debug") return True - """ + """ - if "SB executable" in fileinfo: + elif "SB executable" in fileinfo: if ctx.config.values.build.generatedebug: check_dir(os.path.dirname(outpath)) save_elf_debug(filepath, outpath)