You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/10/17 23:59:10 UTC
[3/4] git commit: Don't include dummy providers in the provider table.
Don't include dummy providers in the provider table.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/dce256ec
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/dce256ec
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/dce256ec
Branch: refs/heads/trunk
Commit: dce256ec1018935a3aa785b436bcc51b4824242f
Parents: 57f7736
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Oct 17 23:55:57 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Oct 17 23:55:57 2013 +0200
----------------------------------------------------------------------
contrib/generate_provider_feature_matrix_table.py | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/dce256ec/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 0f674c6..db4d1f5 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -215,6 +215,9 @@ def generate_supported_methods_table(api, provider_matrix):
data.append(['Provider'] + header)
for provider, values in sorted(provider_matrix.items()):
+ if 'dummy' in provider.lower():
+ continue
+
provider_name = '`%s`_' % (values['name'])
row = [provider_name]
for _, supported in values['methods'].items():
@@ -239,6 +242,8 @@ def generate_supported_providers_table(api, provider_matrix):
data.append(header)
for provider, values in sorted(provider_matrix.items()):
+ if 'dummy' in provider.lower():
+ continue
name_str = '`%s`_' % (values['name'])
module_str = ':mod:`%s`' % (values['module'])