summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index 6115f21e7..a6dd98c28 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -277,7 +277,7 @@ class Scheduler(PollScheduler):
if self._parallel_fetch:
# clear out existing fetch log if it exists
try:
- open(self._fetch_log, 'w')
+ open(self._fetch_log, 'w').close()
except EnvironmentError:
pass