Skip to content

Commit

Permalink
2.6.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
danidee10 committed Jan 26, 2021
1 parent cc3bf0f commit cc74ae0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def application(env, start_response):
channel = connection.channel()

queue = env['PATH_INFO'].replace('/', '')

channel.queue_declare(queue=queue)

uwsgi.websocket_handshake(
Expand All @@ -43,7 +43,7 @@ def keepalive():
connection.add_timeout(30, keepalive)
except OSError as error:
print(error)
sys.exit(1) # Kill process and force uWSGI to Respawn
sys.exit(1) # Kill process and force uWSGI to Respawn

keepalive()

Expand All @@ -53,7 +53,7 @@ def keepalive():
uwsgi.websocket_send(body)
except OSError as error:
print(error)
sys.exit(1) # Kill process and force uWSGI to Respawn
sys.exit(1) # Kill process and force uWSGI to Respawn
else:
# acknowledge the message
channel.basic_ack(method_frame.delivery_tag)
2 changes: 1 addition & 1 deletion notifications/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_string_representation(self):
)

notification = Notification.objects.create(
source=None, source_display_name='User 2',
source_display_name='User 2',
recipient=self.user1, action='Notified',
short_description='Admin was notified',
category='Admin notification', obj=1, url='http://example.com',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
EMAIL = 'osaetindaniel@gmail.com'
AUTHOR = 'Osaetin Daniel'
REQUIRES_PYTHON = '>=3.5.0'
VERSION = '2.6.4'
VERSION = '2.6.5'

REQUIRED = ['django>=2.0', 'pika>=0.12.0', 'celery>=4.1.0']
EXCLUDE = ['notifs', 'tests', '*.tests', '*.tests.*', 'tests.*']
Expand Down

0 comments on commit cc74ae0

Please sign in to comment.