Added add_os method to platform subclasses

This commit is contained in:
Mario Melara 2016-02-10 16:16:58 -08:00
parent cb8d5ab183
commit 77e93e1b79
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ class Darwin(Platform):
def __init__(self):
super(Darwin, self).__init__('darwin')
self.add_target(self.default, Target(self.default, 'PATH'))
self.add_operating_system()
@classmethod
def detect(self):

View file

@ -10,6 +10,7 @@ class Linux(Platform):
def __init__(self):
super(Linux, self).__init__('linux')
self.add_target(self.default, Target(self.default, 'PATH'))
self.add_operating_system()
@classmethod
def detect(self):