summaryrefslogtreecommitdiffstats
path: root/pyanaconda/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-05-05 16:20:07 -0400
committerChris Lumens <clumens@redhat.com>2011-05-16 14:07:48 -0400
commitf159bd6b1be7e2baef3b20633b38863817d7f410 (patch)
tree023cff520eaf67a8906732205c05cc5b18205174 /pyanaconda/yuminstall.py
parent2ed92ffea5adb323929ab4b1fde0bd0d2c4ba625 (diff)
downloadanaconda-f159bd6b1be7e2baef3b20633b38863817d7f410.tar.gz
anaconda-f159bd6b1be7e2baef3b20633b38863817d7f410.tar.xz
anaconda-f159bd6b1be7e2baef3b20633b38863817d7f410.zip
Add a timestamp to every line in install.log/upgrade.log.
Knowing what package is being installed when is helpful for performance testing.
Diffstat (limited to 'pyanaconda/yuminstall.py')
-rw-r--r--pyanaconda/yuminstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index ee6698382..378d4a180 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -175,7 +175,7 @@ class AnacondaCallback:
s += summary.strip()
self.progress.set_label(s)
- self.instLog.write(self.modeText % str(pkgStr))
+ self.instLog.write(self.modeText % (time.strftime("%H:%M:%S"), str(pkgStr)))
self.instLog.flush()
self.openfile = None