summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/project.py b/project.py
index 019f29d4..46e06bf8 100644
--- a/project.py
+++ b/project.py
@@ -522,13 +522,11 @@ class RepoHook(object):
522 prompt = ('Repo %s run the script:\n' 522 prompt = ('Repo %s run the script:\n'
523 ' %s\n' 523 ' %s\n'
524 '\n' 524 '\n'
525 'Do you want to allow this script to run ' 525 'Do you want to allow this script to run')
526 '(yes/yes-never-ask-again/NO)? ') % (self._GetMustVerb(),
527 self._script_fullpath)
528 return self._CheckForHookApprovalHelper( 526 return self._CheckForHookApprovalHelper(
529 'approvedhash', 527 'approvedhash',
530 self._GetHash(), 528 self._GetHash(),
531 prompt, 529 prompt % (self._GetMustVerb(), self._script_fullpath),
532 'Scripts have changed since %s was allowed.' % (self._hook_type,)) 530 'Scripts have changed since %s was allowed.' % (self._hook_type,))
533 531
534 def _ExecuteHook(self, **kwargs): 532 def _ExecuteHook(self, **kwargs):