Permalink
Browse files

mirror.config-sample: Fixing undefined variable error more properly

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: svn://test.kernel.org/autotest/trunk@5360 592f7852-d20e-0410-864c-8624ca9c26a4
  • Loading branch information...
1 parent 1977b51 commit ffbfca0794e9d58f57c93d344d7d6fb30b106f35 lmr committed May 9, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 mirror/config-sample.py
View
@@ -88,5 +88,6 @@
# now register some trigger actions otherwise nothing will be done for the new
# kernel versions
-trigger_module.trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
-trigger_module.trigger.add_action(trigger_module.email_action('test@test.com'))
+trigger = trigger_module.trigger()
+trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
+trigger.add_action(trigger_module.email_action('test@test.com'))

0 comments on commit ffbfca0

Please sign in to comment.