From 9ea89ffefea114973513c8269a0f3c7c8e46c50a Mon Sep 17 00:00:00 2001 From: Matt Layman Date: Sun, 30 Aug 2015 21:37:47 -0400 Subject: [PATCH] Fix typo in method name of plugin manager. --- httpie/client.py | 2 +- httpie/plugins/manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httpie/client.py b/httpie/client.py index 5f24a049..190737d2 100644 --- a/httpie/client.py +++ b/httpie/client.py @@ -22,7 +22,7 @@ DEFAULT_UA = 'HTTPie/%s' % __version__ def get_requests_session(): requests_session = requests.Session() - for cls in plugin_manager.get_trasnsport_plugins(): + for cls in plugin_manager.get_transport_plugins(): transport_plugin = cls() requests_session.mount(prefix=transport_plugin.prefix, adapter=transport_plugin.get_adapter()) diff --git a/httpie/plugins/manager.py b/httpie/plugins/manager.py index 2c4092d5..239d32ae 100644 --- a/httpie/plugins/manager.py +++ b/httpie/plugins/manager.py @@ -60,6 +60,6 @@ class PluginManager(object): if issubclass(plugin, ConverterPlugin)] # Adapters - def get_trasnsport_plugins(self): + def get_transport_plugins(self): return [plugin for plugin in self if issubclass(plugin, TransportPlugin)]