fixup! Add osx-old target to target 10.8. 108
authorCarl Hetherington <cth@carlh.net>
Wed, 19 May 2021 21:13:16 +0000 (23:13 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 19 May 2021 21:13:16 +0000 (23:13 +0200)
cdist

diff --git a/cdist b/cdist
index a00335159c9c01684056ed72689ff94b4db1af98..626f408f2daa890c43044606cfd974ee7002223e 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -812,7 +812,7 @@ class OSXTarget(Target):
 
 
 class OSXSingleTarget(OSXTarget):
-    def __init__(self, arch, sdk, deployment, can_notarize=True, directory=None):
+    def __init__(self, arch, sdk, deployment, directory=None, can_notarize=True):
         super(OSXSingleTarget, self).__init__(directory)
         self.arch = arch
         self.sdk = sdk
@@ -940,7 +940,7 @@ def target_factory(args):
     elif s == 'osx-intel':
         target = OSXSingleTarget('x86_64', config.get('osx_sdk'), config.get('osx_intel_deployment'), args.work)
     elif s == 'osx-old':
-        target = OSXSingleTarget('x86_64', config.get('osx_sdk'), config.get('osx_old_deployment'), can_notarize=False, directory=args.work)
+        target = OSXSingleTarget('x86_64', config.get('osx_sdk'), config.get('osx_old_deployment'), args.work, False)
     elif s == 'source':
         target = SourceTarget()
     elif s == 'flatpak':