Michał Górny  committed 09216a3

Delay cache use if one update for repo is already running.

  • Participants
  • Parent commits 863364f
  • Branches master

Comments (0)

Files changed (1)

File smartliverebuild/vcs/

 				return None
 			elif isinstance(rev, Exception):
 				raise rev
+			elif isinstance(rev, BaseVCSSupport):
+				# wait for it to complete, and cache its result
+				return None
 				return self._finishupdate(rev)
 			This function returns the spawned Popen() instance.
+		if self._cache is not None:
+			self._cache[str(self)] = self
 		cmd = self.updatecmd
 		if > 1:
 			out.pkgs(str(self), cmd)