(Steve Dougherty)
2013-07-30: Remove redundant parameters. Remove redundant parameters. The default value of async is False.
diff --git a/infocalypse/commands.py b/infocalypse/commands.py --- a/infocalypse/commands.py +++ b/infocalypse/commands.py @@ -89,8 +89,7 @@ def infocalypse_create(ui_, repo, **opts import fcp node = fcp.FCPNode() vcs_response =\ - node.fcpPluginMessage(async=False, - plugin_name="plugins.WebOfTrust.WebOfTrust", + node.fcpPluginMessage(plugin_name="plugins.WebOfTrust.WebOfTrust", plugin_params=msg_params)[0] if vcs_response['header'] != 'FCPPluginReply' or\ diff --git a/infocalypse/wot_id.py b/infocalypse/wot_id.py --- a/infocalypse/wot_id.py +++ b/infocalypse/wot_id.py @@ -142,8 +142,7 @@ def _get_identity(wot_identifier, truste 'Context': 'vcs'} response = \ - node.fcpPluginMessage(async=False, - plugin_name="plugins.WebOfTrust.WebOfTrust", + node.fcpPluginMessage(plugin_name="plugins.WebOfTrust.WebOfTrust", plugin_params=params)[0] if response['header'] != 'FCPPluginReply' or \ @@ -169,8 +168,7 @@ def _get_identity(wot_identifier, truste 'Truster': truster.identity_id, 'Identity': key_prefix} response = \ - node.fcpPluginMessage(async=False, - plugin_name="plugins.WebOfTrust.WebOfTrust", + node.fcpPluginMessage(plugin_name="plugins.WebOfTrust.WebOfTrust", plugin_params=params)[0] if response['Replies.Message'] == 'Error': @@ -196,8 +194,7 @@ def _get_local_identity(wot_identifier): node = fcp.FCPNode() response = \ - node.fcpPluginMessage(async=False, - plugin_name="plugins.WebOfTrust.WebOfTrust", + node.fcpPluginMessage(plugin_name="plugins.WebOfTrust.WebOfTrust", plugin_params={'Message': 'GetOwnIdentities'})[0]