diff flatpak/build_manifest.py @ 155:5af7c3d4fab2

flatpak (build_manifest): fixed ordering when a one-short temporary directory is used
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2019 15:21:10 +0200
parents cd411b0d1e19
children 0a92bb60db12
line wrap: on
line diff
--- a/flatpak/build_manifest.py	Fri Jun 28 15:20:34 2019 +0200
+++ b/flatpak/build_manifest.py	Fri Jun 28 15:21:10 2019 +0200
@@ -639,15 +639,15 @@
             deps_map[name_canonical] = dep
             print(f"found dependency: {dep.name} {dep.version}")
 
-    print_step("ordering dependencies")
+        print_step("ordering dependencies")
 
-    requirements = get_requirements(pip, main_package)
-    main_pack = Package(name=main_package,
-                        version=args.version,
-                        hash_="",
-                        url="",
-                        requirements=requirements,
-                        )
+        requirements = get_requirements(pip, main_package)
+        main_pack = Package(name=main_package,
+                            version=args.version,
+                            hash_="",
+                            url="",
+                            requirements=requirements,
+                            )
 
     deps = []
     print("resolving requirements\n")