Skip to content

Commit 2238370

Browse files
author
Itay Bleier
committed
Use strip instead of trim
1 parent f3a8621 commit 2238370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eb_sqs/management/commands/process_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def handle(self, *args, **options):
2424
if not options['queue_names']:
2525
raise CommandError('Queue names (--queues) not specified')
2626

27-
queue_names = [queue_name.trim() for queue_name in options['queue_names'].split(',')]
27+
queue_names = [queue_name.rstrip() for queue_name in options['queue_names'].split(',')]
2828

2929
logger.debug('[django-eb-sqs] Connecting to SQS: {}'.format(', '.join(queue_names)))
3030

0 commit comments

Comments
 (0)