mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
Fixing up some pep8 issues
This commit is contained in:
@@ -270,6 +270,7 @@ def update_host_last_job_after_job_deleted(sender, **kwargs):
|
||||
class ActivityStreamEnabled(threading.local):
|
||||
def __init__(self):
|
||||
self.enabled = getattr(settings, 'ACTIVITY_STREAM_ENABLED', True)
|
||||
|
||||
def __nonzero__(self):
|
||||
return bool(self.enabled)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user