Remove redundant backslashes inside parentheses.
Test for object identity should be 'is not None'.
Fit docstring to the PEP8 79 character limit.
Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling.
Use forward compatible print function syntax.
Support libcloud > 0.15 'metadata' argument format.