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

reviewable/pr18780/r1
Ralph Bean 11 years ago
parent bb36429fa2
commit a1738163a8

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

Loading…
Cancel
Save