]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/files/static-mirroring/static-master-run
Prevent python from releasing locks prematurely, II
[dsa-puppet.git] / modules / roles / files / static-mirroring / static-master-run
index c82d68849e1003c1b30c9f2dc58d1b7069cd0a2a..027f38468abd174912738100115c3b29db5dcddd 100755 (executable)
@@ -169,7 +169,7 @@ def run_mirror():
     ret = False
 
   for fd in locks:
-    fd.close()
+    os.close(fd)
 
   return ret