mirror of
https://github.com/ansible/awx.git
synced 2026-05-03 07:35:28 -02:30
move code linting to a stricter pep8-esque auto-formatting tool, black
This commit is contained in:
@@ -10,13 +10,12 @@ class Command(BaseCommand):
|
||||
|
||||
help = (
|
||||
"Remove an instance (specified by --hostname) from the specified queue (instance group).\n"
|
||||
"In order remove the queue, use the `unregister_queue` command.")
|
||||
"In order remove the queue, use the `unregister_queue` command."
|
||||
)
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--queuename', dest='queuename', type=str,
|
||||
help='Queue to be removed from')
|
||||
parser.add_argument('--hostname', dest='hostname', type=str,
|
||||
help='Host to remove from queue')
|
||||
parser.add_argument('--queuename', dest='queuename', type=str, help='Queue to be removed from')
|
||||
parser.add_argument('--hostname', dest='hostname', type=str, help='Host to remove from queue')
|
||||
|
||||
def handle(self, *arg, **options):
|
||||
if not options.get('queuename'):
|
||||
|
||||
Reference in New Issue
Block a user