- f.write("Source: " + source + "\n")
- f.write("Version: " + version_list + "\n")
- f.write("Architectures:")
- f.write( (", ".join(arch_list.split(" "))) + "\n")
- f.write("Age: " + time_pp(last_modified) + "\n")
-
- (name, mail) = maint.split(":")
- f.write("Maintainer: " + name + " <"+mail+">" + "\n")
+ log.write("Source: " + source + "\n")
+ log.write("Binary: " + binary + "\n")
+ log.write("Version: " + version_list + "\n")
+ log.write("Architectures: ")
+ log.write( (", ".join(arch_list.split(" "))) + "\n")
+ log.write("Age: " + time_pp(last_modified) + "\n")
+ log.write("Last-Modified: " + str(int(time.time()) - int(last_modified)) + "\n")
+ log.write("Queue: " + type + "\n")
+
+ (name, mail) = maint.split(":", 1)
+ log.write("Maintainer: " + name + " <"+mail+">" + "\n")