Skip to content

Commit

Permalink
Use strip instead of trim
Browse files Browse the repository at this point in the history
  • Loading branch information
Itay Bleier committed Mar 22, 2017
1 parent f3a8621 commit 2238370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_sqs/management/commands/process_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def handle(self, *args, **options):
if not options['queue_names']:
raise CommandError('Queue names (--queues) not specified')

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

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

Expand Down

0 comments on commit 2238370

Please sign in to comment.