From 0ef8b9710d83cd5957f7a430f8ff02abf3bad94a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 14 Dec 2012 15:21:50 +0000 Subject: [PATCH] * robust --- website/data/query-blacklist.txt | 1 + website/scripts/lib/ant.groovy | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/website/data/query-blacklist.txt b/website/data/query-blacklist.txt index 6fe9a810..5383d817 100644 --- a/website/data/query-blacklist.txt +++ b/website/data/query-blacklist.txt @@ -62,6 +62,7 @@ ^Tracker ^Trailer ^transfer$ +^TV$ ^user$ ^VCD$ ^VIDEO_TS$ diff --git a/website/scripts/lib/ant.groovy b/website/scripts/lib/ant.groovy index 89f6d577..82c05802 100644 --- a/website/scripts/lib/ant.groovy +++ b/website/scripts/lib/ant.groovy @@ -7,7 +7,10 @@ */ def sshexec(param) { param << [trust: true] // auto-trust remote hosts - ant().sshexec(param) + + _guarded { + ant().sshexec(param) + } } @@ -21,9 +24,11 @@ def sendmail(param) { def sender = param.remove('from') def recipient = param.remove('to') - ant().mail(param) { - from(address:sender) - to(address:recipient) + _guarded { + ant().mail(param) { + from(address:sender) + to(address:recipient) + } } }