Skip to content

Commit a8dfd03

Browse files
author
Vladimir Klochan
committed
2 parents 6028f83 + c749e5c commit a8dfd03

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

logstash/handler_amqp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import json
2-
from urllib import urlencode
2+
try:
3+
from urllib import urlencode
4+
except ImportError:
5+
from urllib.parse import urlencode
36

47
from logging import Filter
58
from logging.handlers import SocketHandler

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setup(
33
name='python-logstash',
44
packages=['logstash'],
5-
version='0.4.3',
5+
version='0.4.3-1',
66
description='Python logging handler for Logstash.',
77
long_description=open('README.rst').read(),
88
author='Volodymyr Klochan',

0 commit comments

Comments
 (0)