mirror of https://github.com/n1nj4sec/pupy.git
Add optial dependency key 'all'
This commit is contained in:
parent
ea092a61e6
commit
c5ff4f45f3
|
@ -108,7 +108,8 @@ class PupyModule(object):
|
||||||
|
|
||||||
def import_dependencies(self):
|
def import_dependencies(self):
|
||||||
if type(self.dependencies) == dict:
|
if type(self.dependencies) == dict:
|
||||||
dependencies = self.dependencies.get(self.client.platform(), [])
|
dependencies = self.dependencies.get('all', []) + \
|
||||||
|
self.dependencies.get(self.client.platform(), [])
|
||||||
else:
|
else:
|
||||||
dependencies = self.dependencies
|
dependencies = self.dependencies
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue