diff --git a/lib/locking.py b/lib/locking.py
index 7ead1ca149e4de1a31420abd82be5f696498fa0b..55ec7024081ee2114719f972b643bea12b942475 100644
--- a/lib/locking.py
+++ b/lib/locking.py
@@ -778,7 +778,7 @@ class GanetiLockManager:
             "You must own the Big Ganeti Lock before acquiring any other")
 
     # Check we don't own locks at the same or upper levels.
-    assert not self._upper_owned(level), ("Cannot acquire locks at a level" 
+    assert not self._upper_owned(level), ("Cannot acquire locks at a level"
            " while owning some at a greater one")
 
     # Acquire the locks in the set.