Fix a changed variable name.
authorZac Medico <zmedico@gentoo.org>
Sat, 9 Feb 2008 09:45:26 +0000 (09:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Feb 2008 09:45:26 +0000 (09:45 -0000)
svn path=/main/branches/2.1.2/; revision=9306

pym/elog_modules/mod_save_summary.py

index 6e6bec919b9ca11e68b471652fa3fd8d4787e087..9bf9ed452bd8ea3dcda4a6ebee3c8a5efc2b3b3c 100644 (file)
@@ -14,7 +14,7 @@ def process(mysettings, cpv, logentries, fulltext):
        elogfile = open(elogfilename, "a")
        apply_permissions(elogfilename, mode=060, mask=0)
        elogfile.write(">>> Messages generated by process %d on %s for package %s:\n\n" % \
-               (os.getpid(), time.strftime("%Y-%m-%d %H:%M:%S %Z", time.localtime(time.time())), key))
+               (os.getpid(), time.strftime("%Y-%m-%d %H:%M:%S %Z", time.localtime(time.time())), cpv))
        elogfile.write(fulltext)
        elogfile.write("\n")
        elogfile.close()