From 6fe7dc8d79015303e363a06ae2e1287bec84b1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Thu, 30 Apr 2015 19:06:12 +0200 Subject: [PATCH] they keep popping up --- luigi/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luigi/target.py b/luigi/target.py index 17fad74f1d..20c248dc7e 100644 --- a/luigi/target.py +++ b/luigi/target.py @@ -263,7 +263,7 @@ def __init__(self, path, timeout=10, delay=.05): self.delay = delay self.lockfile = "%s.lock" % self.path self.acquire() - super(AtomicLocalFile, self).__init__(io.FileIO(self.path, 'a')) + super(AtomicLocalFileAppend, self).__init__(io.FileIO(self.path, 'a+')) def __exit__(self, exc_type, exc, traceback): if exc_type: