Skip to content
Snippets Groups Projects
Commit eb191aa3 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

cov

parent 90bb9d4b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ cache:
- $HOME/.cache
script:
- python compile_definitions.py
- python setup.py nosetests
- python setup.py nosetests --with-coverage
install:
- pip install -r requirements.txt
after_success:
......
......@@ -28,11 +28,11 @@ class AMQPError(CoolAMQPError):
return u'AMQP error %s: %s' % (self.reply_code, self.reply_text)
def __repr__(self):
return u'AMQPError(%s, %s, %s, %s)' % (
repr(self.reply_code),
repr(self.reply_text),
repr(self.class_id),
repr(self.method_id),
return u'AMQPError(%s, %s, %s, %s)' % map(repr, (
self.reply_code,
self.reply_text,
self.class_id,
self.method_id)
)
def __init__(self, *args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment