dotcloud/docker-py — pull request #135 by rca (2014-01-08 05:44:28+00:00)
Title: Pass through port binding dict

Upon upgrading docker and docker-py my code stopped working because I was passing the port bindings as a properly formatted list of dict objects. This patch re-allows passing the ports in the already-correct format.

Please let me know if this is a good fix and/or if it needs some tweaks.

Thanks!