Skip to content

Commit c772da9

Browse files
authored
Merge pull request #84 from Worvast/master
Fixed problem with CLI overwrite of config file
2 parents 7a772dc + 6ac955e commit c772da9

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [3.2.4] - 2020-04-02
7+
## [3.2.5] - 2020-04-02
88
### Added
99
* Added new security flags to Sender SSL Sender
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[![master Build Status](https://travis-ci.com/DevoInc/python-sdk.svg?branch=master)](https://travis-ci.com/DevoInc/python-sdk) [![LICENSE](https://img.shields.io/dub/l/vibe-d.svg)](https://github.com/DevoInc/python-sdk/blob/master/LICENSE)
33

4-
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-sdk/) [![version](https://img.shields.io/badge/version-3.2.4-blue.svg)](https://pypi.org/project/devo-sdk/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7-blue.svg)](https://pypi.org/project/devo-sdk/)
4+
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-sdk/) [![version](https://img.shields.io/badge/version-3.2.5-blue.svg)](https://pypi.org/project/devo-sdk/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7-blue.svg)](https://pypi.org/project/devo-sdk/)
55

66

77
# Devo Python SDK

devo/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__description__ = 'Devo Python Library.'
22
__url__ = 'http://www.devo.com'
3-
__version__ = "3.2.4"
3+
__version__ = "3.2.5"
44
__author__ = 'Devo'
55
__author_email__ = 'support@devo.com'
66
__license__ = 'MIT'

devo/sender/scripts/sender_cli.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,14 @@ def cli(version):
4141
@click.option('--cert', help='Devo user cert file.')
4242
@click.option('--chain', help='Devo chain.crt file.')
4343
@click.option('--sec_level', help='Sec level for opensslsocket. Default: None',
44-
default=None, type=int)
44+
type=int)
4545
@click.option('--verify_mode', help='Verify mode for SSL Socket. '
4646
'Default: SSL default.'
4747
'You need use int "0" (CERT_NONE), '
4848
'"1" (CERT_OPTIONAL) or '
49-
'"2" (CERT_REQUIRED)',
50-
default=None, type=int)
49+
'"2" (CERT_REQUIRED)', type=int)
5150
@click.option('--check_hostname', help='Verify cert hostname. Default: True',
52-
default=True, type=bool)
51+
type=bool)
5352
@click.option('--multiline/--no-multiline', help='Flag for multiline (With '
5453
'break-line in msg). '
5554
'Default False', default=False)
@@ -128,15 +127,14 @@ def data(**kwargs):
128127
@click.option('--cert', help='Devo user cert file.')
129128
@click.option('--chain', help='Devo chain.crt file.')
130129
@click.option('--sec_level', help='Sec level for opensslsocket. Default: None',
131-
default=None, type=int)
130+
type=int)
132131
@click.option('--verify_mode', help='Verify mode for SSL Socket. '
133132
'Default: SSL default.'
134133
'You need use int "0" (CERT_NONE), '
135134
'"1" (CERT_OPTIONAL) or '
136-
'"2" (CERT_REQUIRED)',
137-
default=None, type=int)
135+
'"2" (CERT_REQUIRED)', type=int)
138136
@click.option('--check_hostname', help='Verify cert hostname. Default: True',
139-
default=True, type=bool)
137+
type=bool)
140138
@click.option('--type', help='Connection type: SSL or TCP', default="SSL")
141139
@click.option('--name', '-n', help='Name for Lookup.')
142140
@click.option('--action', '-ac', help='INC or FULL.', default="FULL")

0 commit comments

Comments
 (0)