apache/libcloud — pull request #166 by briancurtin (2013-10-25 04:44:40+00:00)
Title: Import LockTimeout before trying to catch it.

If `lock.acquire` raised any sort of exception, a `NameError` would trump it because the `__enter__` method was trying to catch `lockfile.LockTimeout`, which wasn't imported.