Minor style change for consistency sake

This commit is contained in:
Anthony Sottile
2015-05-07 17:06:33 -07:00
parent 17a9a8211d
commit d97ea30c4b

View File

@@ -161,8 +161,10 @@ def run(runner, args, write=sys_stdout_write_wrapper, environ=os.environ):
with ctx:
hook_executors = list(get_hook_executors(runner))
if args.hook:
hook_executors = [he for he in hook_executors
if he.hook['id'] == args.hook]
hook_executors = [
he for he in hook_executors
if he.hook['id'] == args.hook
]
if not hook_executors:
write('No hook with id `{0}`\n'.format(args.hook))
return 1