diff options
author | 2015-12-09 14:00:46 +0100 | |
---|---|---|
committer | 2015-12-09 14:00:46 +0100 | |
commit | dfae7afffbc76fa1d667e9535ce6db0a87062144 (patch) | |
tree | a13a3186a91b05a441a07b52c23319c58cdcc23b | |
parent | ebuild bumped to 0.3 (diff) | |
parent | Comment unmask lines so cleanup script works with -f (diff) | |
download | tatt-dfae7afffbc76fa1d667e9535ce6db0a87062144.tar.gz tatt-dfae7afffbc76fa1d667e9535ce6db0a87062144.tar.bz2 tatt-dfae7afffbc76fa1d667e9535ce6db0a87062144.zip |
Merge pull request #23 from lucianposton/comment-unmasks
Comment unmask lines so cleanup script works with -f
-rwxr-xr-x | scripts/tatt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/tatt b/scripts/tatt index ba83ba8..de80917 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -194,12 +194,12 @@ if not myJob.packageList==None: else: unmaskfile.write(p.packageString()) if myJob.type=="stable": - unmaskfile.write("\n") + pass elif myJob.type=="keyword": - unmaskfile.write(" ** \n") + unmaskfile.write(" ** ") else: print ("Uh Oh, no job.type? Tell tomka@gentoo.org to fix this!") - unmaskfile.write("\n") + unmaskfile.write(" # Job " + myJob.name + "\n") print ("Unmasked " + p.packageString()+ " in "+config['unmaskfile']) unmaskfile.close() ## Write the scripts |