If we already have the name and the platform, then we should probably go ahead and concretize it in the constructor. Else leave it as None and concretize it later.
This commit is contained in:
parent
618b3f5f2d
commit
5bcd1e7ccd
@ -199,8 +199,13 @@ class Arch(object):
|
||||
|
||||
def __init__(self, platform_os=None, target=None):
|
||||
self.platform = sys_type()
|
||||
if platform_os:
|
||||
platform_os = self.platform.operating_system(platform_os)
|
||||
self.platform_os = platform_os
|
||||
self.target = target
|
||||
if target:
|
||||
target = self.platform.target(target)
|
||||
self.target = target
|
||||
|
||||
|
||||
@property
|
||||
def concrete(self):
|
||||
|
Loading…
Reference in New Issue
Block a user