diff options
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index d4dcc653a..f8c6a03bb 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -143,7 +143,8 @@ class Command: self.cooker.finishcommand() def reset(self): - self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker) + if self.remotedatastores: + self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker) class CommandsSync: """ |