Jessecar96/SteamBot — pull request #116 by cwhelchel (2012-12-20 01:43:45+00:00)
Title: Add TradeManager Class.

This is a squashed pull request that is the same as #102. This is the first time rebasing with git so if I've offended anyone... well sorry.

Here's the main point:

The ``TradeManager`` class handles setting up trades, fetching inventories, trade polling, trade timeouts and other things the trade object should not be handling.

Here's additional stuff:

Inventory fetching issues reported by several users should be addressed by use of new Inventory exceptions. The bot now responds to people who have private backpacks to make them public. *Sorry this is just the way it is for now.*

Users who had used ``Bot.OpenTrade`` expecting that the bot would initiate a trade were suprised to find that it didn't work. It should now. This was a semantic naming issue, users could have used ``SteamTrade.Trade(other)`` . But this was not really obvious. Now they can use ``Bot.OpenTrade`` as intended.