0.1.3
This commit is contained in:
parent
1fba01d47e
commit
2c832c42f7
|
@ -0,0 +1,2 @@
|
|||
0.1.3:
|
||||
- Added ambigious (4xx) response code handling
|
|
@ -1,6 +1,7 @@
|
|||
include AUTHORS
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include CHANGELOG.txt
|
||||
recursive-include validate_email *
|
||||
prune tests
|
||||
recursive-exclude tests *
|
||||
|
|
2
setup.py
2
setup.py
|
@ -26,7 +26,7 @@ class PostBuildPyCommand(build_py):
|
|||
|
||||
setup(
|
||||
name='py3-validate-email',
|
||||
version='0.1.2',
|
||||
version='0.1.3',
|
||||
packages=find_packages(exclude=['tests']),
|
||||
install_requires=['dnspython'],
|
||||
author='László Károlyi',
|
||||
|
|
|
@ -57,4 +57,8 @@ def mx_check(
|
|||
return None
|
||||
if code == 250:
|
||||
return True
|
||||
if 400 <= code <= 499:
|
||||
# Ambigious return code, can be graylist, or temporary
|
||||
# problems
|
||||
return None
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue