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