From 3e66a367c64badaff2cc69c55fb36f11ba061a2c Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Fri, 9 Jun 2017 21:52:58 +0300 Subject: [PATCH] Fix situation with clientless modules --- pupy/pupylib/PupyModule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pupy/pupylib/PupyModule.py b/pupy/pupylib/PupyModule.py index 1e37846a..30070826 100644 --- a/pupy/pupylib/PupyModule.py +++ b/pupy/pupylib/PupyModule.py @@ -308,7 +308,8 @@ class PupyModule(object): else: dependencies = self.dependencies - self.client.load_package(dependencies, new_deps=self.new_deps) + if self.client: + self.client.load_package(dependencies, new_deps=self.new_deps) def clean_dependencies(self): for d in self.new_deps: