Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekram committed Apr 30, 2019
1 parent 21e0f21 commit 43c7b0f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: xenial
language: python
python:
- '3.5'
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.4 - 2019-04-26
## 1.1.0 - 2019-04-30

* Handle cases where compression is done before signing.
* Add support for additional encryption algorithms.
Expand Down
38 changes: 17 additions & 21 deletions pyas2lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
from __future__ import absolute_import
# from pyas2lib.as2 import DIGEST_ALGORITHMS, ENCRYPTION_ALGORITHMS,\
# MDN_CONFIRM_TEXT, MDN_FAILED_TEXT, Partner, Organization, Message, Mdn
import sys
from pyas2lib.as2 import DIGEST_ALGORITHMS
from pyas2lib.as2 import ENCRYPTION_ALGORITHMS
from pyas2lib.as2 import MDN_CONFIRM_TEXT
from pyas2lib.as2 import MDN_FAILED_TEXT
from pyas2lib.as2 import Mdn
from pyas2lib.as2 import Message
from pyas2lib.as2 import Organization
from pyas2lib.as2 import Partner

VERSION = (1, 0, 3)
VERSION = (1, 1, 0)
__version__ = '.'.join(map(str, VERSION))


__all__ = [
'VERSION',
# 'DIGEST_ALGORITHMS',
# 'ENCRYPTION_ALGORITHMS',
# 'MDN_CONFIRM_TEXT',
# 'MDN_FAILED_TEXT',
# 'Partner',
# 'Organization',
# 'Message',
# 'Mdn'
'DIGEST_ALGORITHMS',
'ENCRYPTION_ALGORITHMS',
'MDN_CONFIRM_TEXT',
'MDN_FAILED_TEXT',
'Partner',
'Organization',
'Message',
'Mdn'
]

if (2, 7) <= sys.version_info < (3, 2):
# On Python 2.7 and Python3 < 3.2, install no-op handler to silence
# `No handlers could be found for logger "elasticsearch"` message per
# <https://docs.python.org/2/howto/logging.html#configuring-logging-for-a-library>
import logging
logger = logging.getLogger('pyas2lib')
logger.addHandler(logging.NullHandler())

0 comments on commit 43c7b0f

Please sign in to comment.