Commits

Michał Górny committed 19238e4

Output pkgname before updatecmd only when actually calling it.

  • Participants
  • Parent commits 1a6d87b

Comments (0)

Files changed (1)

File SmartLiveRebuild/vcs/__init__.py

 
 			This function returns the spawned Popen() instance.
 		"""
-		out.s2(str(self))
 		try:
 			os.chdir(self.getpath())
 		except OSError:
 
 			if self._opts.network:
 				cmd = self.getupdatecmd()
+				out.s2(str(self))
 				out.s3(cmd)
 				self.subprocess = subprocess.Popen(cmd, stdout=sys.stderr, env=self.callenv, shell=True)
 			else: