reverted line breaks around get_generators
This commit is contained in:
parent
54883ad523
commit
1ca645602a
|
@ -956,17 +956,11 @@ class InternalCommands:
|
||||||
def get_generators(self):
|
def get_generators(self):
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
|
|
||||||
return self.win32_generators
|
return self.win32_generators
|
||||||
|
|
||||||
elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']:
|
elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']:
|
||||||
|
|
||||||
return self.unix_generators
|
return self.unix_generators
|
||||||
|
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
|
|
||||||
return self.darwin_generators
|
return self.darwin_generators
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise Exception('Unsupported platform: ' + sys.platform)
|
raise Exception('Unsupported platform: ' + sys.platform)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue