Permalink
Browse files

Fix signals subscriptions, close #101

  • Loading branch information...
1 parent fef30f7 commit 7c965d7a28c4dca564008c31ecddd6b3bebf4db7 @kmmbvnr committed May 9, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 django_jenkins/management/commands/__init__.py
  2. +1 −0 tests/settings.py
@@ -52,7 +52,7 @@ def handle(self, *test_labels, **options):
self.tasks = self.get_tasks(*test_labels, **options)
# subscribe
- for signal_name, signal in inspect.getmembers(signals):
+ for signal_name, signal in inspect.getmembers(signals, predicate=lambda obj: obj):
for task in self.tasks:
signal_handler = getattr(task, signal_name, None)
if signal_handler:
View
@@ -39,6 +39,7 @@
'django_jenkins.tasks.run_csslint',
'django_jenkins.tasks.run_sloccount',
'django_jenkins.tasks.lettuce_tests',
+ 'django_jenkins.tasks.with_local_celery',
)
JSLINT_CHECKED_FILES = [os.path.join(PROJECT_ROOT, 'static/js/test.js')]

0 comments on commit 7c965d7

Please sign in to comment.