Commits

Michał Górny committed 59ed1dd

Record update start time.

Comments (0)

Files changed (1)

smartliverebuild/vcs/__init__.py

 # (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