forked from extern/httpie-cli
Fix typo in method name of plugin manager.
This commit is contained in:
parent
2b51cb6687
commit
9ea89ffefe
@ -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())
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user