diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2017-12-23 12:46:20 +0100 |
---|---|---|
committer | kensington <kensington@gentoo.org> | 2017-12-23 23:08:39 +1100 |
commit | b966389c6dba3a73b69c4e55bbe32d83d1c659d0 (patch) | |
tree | f0525e6173d1568598f340a87a91b0e10735ddc4 /tatt | |
parent | improve handling of keywording bugs (diff) | |
download | tatt-b966389c6dba3a73b69c4e55bbe32d83d1c659d0.tar.gz tatt-b966389c6dba3a73b69c4e55bbe32d83d1c659d0.tar.bz2 tatt-b966389c6dba3a73b69c4e55bbe32d83d1c659d0.zip |
improve marker line in generated use scripts
- add a newline to make the new package easier spottable when viewing the file
- write the version in the marker line as there may be multiple versions of the
same package in the same file
Diffstat (limited to 'tatt')
-rw-r--r-- | tatt/scriptwriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tatt/scriptwriter.py b/tatt/scriptwriter.py index 80fc0b5..6a51433 100644 --- a/tatt/scriptwriter.py +++ b/tatt/scriptwriter.py @@ -58,7 +58,7 @@ def writeusecombiscript(job, config): outfile.write(useheader) port = portage.db[portage.root]["porttree"].dbapi for p in job.packageList: - outfile.write("# Code for " + p.packageCatName() + "\n") + outfile.write("\n# Code for " + p.packageString() + "\n") outfile.write(useCombiTestString(job.name, p, config, port)) outfile.write("echo >> " + reportname + "\n") # Note: fchmod needs the filedescriptor which is an internal |