jegesh / python-sqs-listener

A simple wrapper for boto3 for listening, and sending, to an AWS SQS queue
Other
154 stars 72 forks source link

Invalid Syntax #4

Closed aschuhl closed 7 years ago

aschuhl commented 7 years ago

When using the example I get the following error:

File "t.py", line 7 listener = MyListener('my-message-queue', error_queue='my-error-queue', region_name='us-east-1') ^ SyntaxError: invalid syntax

Using Python 2.7.10 and pySqsListener 0.6.7

jegesh commented 7 years ago

Can you give me the full stack trace for the error?

aschuhl commented 7 years ago

@jegesh That is the full stack trace

jegesh commented 7 years ago

Looks like a closing parenthesis is missing at the end of the previous line of the example code. I'll try to fix the readme in the next couple of days. Thanks for pointing out this issue, and please let me know if that solves the problem.