mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-26 13:25:10 +00:00
@@ -51,7 +51,8 @@ def check_registered_tasks(*args, **kwargs):
|
||||
continue
|
||||
for attr in attrs:
|
||||
if not hasattr(task, attr):
|
||||
print('>>> Task {} has no attribute {}'.format(name, attr))
|
||||
# print('>>> Task {} has no attribute {}'.format(name, attr))
|
||||
pass
|
||||
|
||||
|
||||
@signals.before_task_publish.connect
|
||||
|
||||
Reference in New Issue
Block a user