Merge pull request #478 from dannon/fix_flake8_breakage

Fix for egg building broken by flake8'ing
This commit is contained in:
John Chilton
2015-07-18 19:24:54 +01:00
+2 -2
View File
@@ -63,14 +63,14 @@ class DistScrambleCrate( ScrambleCrate ):
def get_platforms( self, wanted ):
# find all the members of a group and process them
if self.groups in wanted:
if wanted in self.groups:
platforms = []
for name in self.groups[wanted].split():
for platform in self.get_platforms( name ):
if platform not in platforms:
platforms.append( platform )
return platforms
elif self.hosts in wanted:
elif wanted in self.hosts:
return [ wanted ]
else:
raise Exception( "unknown platform: %s" % wanted )