1. Michał Górny
  2. smart-live-rebuild


Michał Górny  committed 59ed1dd

Record update start time.

  • Participants
  • Parent commits b3c8572
  • Branches master

Comments (0)

Files changed (1)

File smartliverebuild/vcs/__init__.py

View file
  • Ignore whitespace
 # (c) 2011 Michał Górny <mgorny@gentoo.org>
 # Released under the terms of the 2-clause BSD license.
-import locale, os, subprocess
+import locale, os, subprocess, time
 from gentoopm.util import ABCObject
 from abc import abstractmethod, abstractproperty
 		popenargs['env'] = self.callenv
 		popenargs['shell'] = True
 		self.subprocess = subprocess.Popen(cmd, **popenargs)
+		self.starttime = time.time()
 		return self.subprocess