kaptan
Advanced tools
| # -*- coding: utf8 -*- | ||
| # flake8: NOQA: F40 | ||
| import sys | ||
| PY2 = sys.version_info[0] == 2 | ||
| if PY2: | ||
| import collections as collections_abc | ||
| else: | ||
| import collections.abc as collections_abc |
| Metadata-Version: 1.1 | ||
| Name: kaptan | ||
| Version: 0.5.10 | ||
| Version: 0.5.11 | ||
| Summary: Configuration manager | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/emre/kaptan |
@@ -9,2 +9,3 @@ AUTHORS | ||
| kaptan/__main__.py | ||
| kaptan/_compat.py | ||
| kaptan.egg-info/PKG-INFO | ||
@@ -11,0 +12,0 @@ kaptan.egg-info/SOURCES.txt |
| __title__ = 'kaptan' | ||
| __package_name__ = 'kaptan' | ||
| __version__ = '0.5.10' | ||
| __version__ = '0.5.11' | ||
| __description__ = 'Configuration manager' | ||
@@ -9,2 +9,2 @@ __email__ = 'mail@emreyilmaz.me' | ||
| __license__ = 'BSD' | ||
| __copyright__ = 'Copyright 2013-2015 Emre Yilmaz' | ||
| __copyright__ = 'Copyright 2013-2018 Emre Yilmaz' |
@@ -16,4 +16,4 @@ # -*- coding: utf8 -*- | ||
| import os | ||
| from collections import Mapping, Sequence | ||
| from ._compat import collections_abc | ||
| from .handlers.dict_handler import DictHandler | ||
@@ -99,5 +99,5 @@ from .handlers.pyfile_handler import PyFileHandler | ||
| for chunk in key.split('.'): | ||
| if isinstance(current_data, Mapping): | ||
| if isinstance(current_data, collections_abc.Mapping): | ||
| current_data = current_data[chunk] | ||
| elif isinstance(current_data, Sequence): | ||
| elif isinstance(current_data, collections_abc.Sequence): | ||
| chunk = int(chunk) | ||
@@ -167,3 +167,2 @@ | ||
| from sys import stdin | ||
| from collections import OrderedDict | ||
@@ -187,3 +186,3 @@ parser = get_parser() | ||
| config_handlers = OrderedDict(list(get_handlers())) | ||
| config_handlers = collections_abc.OrderedDict(list(get_handlers())) | ||
@@ -190,0 +189,0 @@ for config_file, handler in config_handlers.items(): |
+1
-1
| Metadata-Version: 1.1 | ||
| Name: kaptan | ||
| Version: 0.5.10 | ||
| Version: 0.5.11 | ||
| Summary: Configuration manager | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/emre/kaptan |
| isort==4.3.4 | ||
| flake8==3.5.0 | ||
| flake8==3.6.0 |
@@ -1,3 +0,3 @@ | ||
| sphinx==1.7.5 | ||
| sphinx-rtd-theme==0.4.0 | ||
| sphinx-argparse==0.2.2 | ||
| sphinx==1.8.3 | ||
| sphinx-rtd-theme==0.4.2 | ||
| sphinx-argparse==0.2.5 |
@@ -1,1 +0,1 @@ | ||
| pytest==3.6.3 | ||
| pytest==4.0.2 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
39400
0.54%27
3.85%395
1.8%