Add optial dependency key 'all'

This commit is contained in:
Oleksii Shevchuk 2016-10-18 23:44:02 +03:00
parent ea092a61e6
commit c5ff4f45f3
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ class PupyModule(object):
def import_dependencies(self):
if type(self.dependencies) == dict:
dependencies = self.dependencies.get(self.client.platform(), [])
dependencies = self.dependencies.get('all', []) + \
self.dependencies.get(self.client.platform(), [])
else:
dependencies = self.dependencies