Fix typo in method name of plugin manager.

This commit is contained in:
Matt Layman 2015-08-30 21:37:47 -04:00
parent 2b51cb6687
commit 9ea89ffefe
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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)]