Fix some "make pep8" errors in the digital_ocean module.

This commit is contained in:
Ralph Bean 2013-09-18 15:41:55 -04:00
parent 022918e5af
commit d782d91b80

View file

@ -186,9 +186,9 @@ class Droplet(JsonfyMixIn):
self.power_on()
if wait:
end_time = time.time()+wait_timeout
end_time = time.time() + wait_timeout
while time.time() < end_time:
time.sleep(min(20, end_time-time.time()))
time.sleep(min(20, end_time - time.time()))
self.update_attr()
if self.is_powered_on():
if not self.ip_address: