[gtk-mac-bundler: 3/12] copy_icon_themes: fix list of copied binaries




commit c1a66f08588462961474d7b9ada4a849a91802d2
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Thu Jul 14 23:22:18 2022 +0100

    copy_icon_themes: fix list of copied binaries

 bundler/bundler.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index c36d212..3fe12a7 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -292,8 +292,8 @@ class Bundler(object):
                     print ("Recursing down copied binary path %s." % path)
                     for root, dirs, files in os.walk(path):
                         paths.extend([os.path.join(root, l) for l in files])
-                    else:
-                        paths.append(path)
+                else:
+                    paths.append(path)
             except TypeError as err:
                 if isinstance(path, Path):
                     print("Warning, Path object for %s in copied binaries list."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]