Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
eb1820a9
Commit
eb1820a9
authored
7 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
and back
parent
8e6c5eb9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
coolamqp/exceptions.py
+3
-7
3 additions, 7 deletions
coolamqp/exceptions.py
setup.cfg
+2
-0
2 additions, 0 deletions
setup.cfg
setup.py
+1
-4
1 addition, 4 deletions
setup.py
with
6 additions
and
11 deletions
coolamqp/exceptions.py
+
3
−
7
View file @
eb1820a9
...
@@ -25,15 +25,11 @@ class AMQPError(CoolAMQPError):
...
@@ -25,15 +25,11 @@ class AMQPError(CoolAMQPError):
return
self
.
reply_code
in
HARD_ERRORS
return
self
.
reply_code
in
HARD_ERRORS
def
__str__
(
self
):
def
__str__
(
self
):
return
u
'
AMQP error %s: %s
'
%
(
self
.
reply_code
,
self
.
reply_text
)
return
'
AMQP error %s: %s
'
%
(
self
.
reply_code
,
self
.
reply_text
)
def
__repr__
(
self
):
def
__repr__
(
self
):
return
u
'
AMQPError(%s, %s, %s, %s)
'
%
(
return
'
AMQPError(
'
+
repr
(
self
.
reply_code
)
+
'
,
'
+
repr
(
self
.
reply_text
)
+
\
repr
(
self
.
reply_code
),
'
,
'
+
repr
(
self
.
class_id
)
+
'
,
'
+
repr
(
self
.
method_id
)
+
'
)
'
repr
(
self
.
reply_text
),
repr
(
self
.
class_id
),
repr
(
self
.
method_id
),
)
def
__init__
(
self
,
*
args
):
def
__init__
(
self
,
*
args
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
2
−
0
View file @
eb1820a9
...
@@ -21,6 +21,8 @@ description = Very fast pure-Python AMQP client
...
@@ -21,6 +21,8 @@ description = Very fast pure-Python AMQP client
author
= DMS Serwis s.c.
author
= DMS Serwis s.c.
author_email
= piotrm@dms-serwis.pl
author_email
= piotrm@dms-serwis.pl
url
= https://github.com/smok-serwis/coolamqp
url
= https://github.com/smok-serwis/coolamqp
platforms
=
posix
[pycodestyle]
[pycodestyle]
max-line-length=80
max-line-length=80
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
4
View file @
eb1820a9
...
@@ -10,10 +10,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit
...
@@ -10,10 +10,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit
Also, handles your reconnects and transactionality THE RIGHT WAY, though somewhat opinionated
'''
,
Also, handles your reconnects and transactionality THE RIGHT WAY, though somewhat opinionated
'''
,
install_requires
=
[
'
six
'
,
'
monotonic
'
,
'
futures
'
],
install_requires
=
[
'
six
'
,
'
monotonic
'
,
'
futures
'
],
tests_require
=
[
"
nose
"
,
'
coverage
'
],
tests_require
=
[
"
nose
"
,
'
coverage
'
],
test_suite
=
'
nose.collector
'
,
test_suite
=
'
nose.collector
'
platforms
=
[
'
posix
'
]
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment