Repository: libcloud Updated Branches: refs/heads/trunk 25c97840b -> f1bff4814
Also include local storage driver in the supported providers and features table. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2611dc01 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2611dc01 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2611dc01 Branch: refs/heads/trunk Commit: 2611dc01f8025f46f028aed158bca5bf9922fa41 Parents: 25c9784 Author: Tomaz Muraus <[email protected]> Authored: Wed Sep 6 16:26:39 2017 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Wed Sep 6 16:27:28 2017 +0200 ---------------------------------------------------------------------- contrib/generate_provider_feature_matrix_table.py | 5 ++--- tox.ini | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/2611dc01/contrib/generate_provider_feature_matrix_table.py ---------------------------------------------------------------------- diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py index d35d63b..f492001 100755 --- a/contrib/generate_provider_feature_matrix_table.py +++ b/contrib/generate_provider_feature_matrix_table.py @@ -205,7 +205,6 @@ FRIENDLY_METHODS_NAMES = { IGNORED_PROVIDERS = [ 'dummy', - 'local', # Deprecated constants 'cloudsigma_us', @@ -264,9 +263,9 @@ def generate_providers_table(api): try: cls = get_driver_method(enum) - except Exception: + except Exception as e: # Deprecated providers throw an exception - print('Ignoring deprecated constant "%s"' % (enum)) + print('Ignoring deprecated constant "%s": %s' % (enum, str(e))) continue # Hack for providers which expose multiple classes and support multiple http://git-wip-us.apache.org/repos/asf/libcloud/blob/2611dc01/tox.ini ---------------------------------------------------------------------- diff --git a/tox.ini b/tox.ini index 05475c7..a4e54a9 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py deps = sphinx pysphere backports.ssl_match_hostname + lockfile changedir = docs commands = python ../contrib/generate_provider_feature_matrix_table.py sphinx-apidoc -d 4 ../libcloud/ -o apidocs/ @@ -43,6 +44,7 @@ commands = python ../contrib/generate_provider_feature_matrix_table.py deps = sphinx pysphere backports.ssl_match_hostname + lockfile changedir = docs commands = python ../contrib/generate_provider_feature_matrix_table.py sphinx-build -b html -d {envtmpdir}/doctrees . _build/html @@ -56,6 +58,7 @@ commands = python contrib/scrape-ec2-prices.py deps = -r{toxinidir}/requirements-tests.txt backports.ssl_match_hostname bottle + lockfile commands = pylint -E --rcfile=./.pylintrc libcloud/common/ pylint -E --rcfile=./.pylintrc libcloud/container/ pylint -E --rcfile=./.pylintrc libcloud/backup/ @@ -68,6 +71,7 @@ commands = pylint -E --rcfile=./.pylintrc libcloud/common/ [testenv:lint] deps = -r{toxinidir}/requirements-tests.txt backports.ssl_match_hostname + lockfile commands = flake8 --ignore=E402 --exclude="test" libcloud/ flake8 --ignore=E402 --max-line-length=160 libcloud/test/
