diff --git a/inventory_provider/tasks/common.py b/inventory_provider/tasks/common.py
index 177429c9d728b9df84c6bc7218fdbbf1bbe45757..82b7dd982078c88397b4d7ea5d6eb0d29bcb4035 100644
--- a/inventory_provider/tasks/common.py
+++ b/inventory_provider/tasks/common.py
@@ -121,7 +121,8 @@ def set_latch(config, new_current, new_next, timestamp, update_timestamp):
             r, db, new_current, new_next, timestamp, update_timestamp)
 
 
-def set_single_latch(r, db, new_current, new_next, timestamp, update_timestamp):
+def set_single_latch(
+        r, db, new_current, new_next, timestamp, update_timestamp):
 
     latch = {
         'current': new_current,