aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <thomas.kahle@jpberlin.de>2015-12-09 14:00:46 +0100
committerThomas Kahle <thomas.kahle@jpberlin.de>2015-12-09 14:00:46 +0100
commitdfae7afffbc76fa1d667e9535ce6db0a87062144 (patch)
treea13a3186a91b05a441a07b52c23319c58cdcc23b
parentebuild bumped to 0.3 (diff)
parentComment unmask lines so cleanup script works with -f (diff)
downloadtatt-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-xscripts/tatt6
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