Removing some redundant code. This was moved to be above the loop exit

This commit is contained in:
Mikael Knutsson 2015-02-17 14:32:09 +01:00
parent 892db93189
commit 5fab63186c

View File

@ -111,8 +111,6 @@ def _publish(
return cret
else:
return ret
if (loop_interval * loop_counter) > timeout:
return {}
loop_counter = loop_counter + 1
time.sleep(loop_interval)
else: