Skip to content

Commit

Permalink
Cleanup import from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Jul 6, 2022
1 parent 3cbf015 commit 7018416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/tasks/receptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# Django
from django.conf import settings
from django.db import connections
from django.utils.translation import ugettext_lazy as _

# Runner
import ansible_runner
Expand Down Expand Up @@ -452,7 +451,8 @@ def cancel_watcher(self, processor_future):
return processor_future.result()

if signal_callback():
return namedtuple('result', ['status', 'rc'])('canceled', 1)
result = namedtuple('result', ['status', 'rc'])
return result('canceled', 1)

time.sleep(0.5)

Expand Down

0 comments on commit 7018416

Please sign in to comment.