--- a/cwconfig.py Thu Sep 17 09:52:06 2015 +0200
+++ b/cwconfig.py Tue Sep 15 15:33:47 2015 +0200
@@ -961,7 +961,7 @@
i = 1
while exists(path) and i < 100: # arbitrary limit to avoid infinite loop
try:
- file(path, 'a')
+ open(path, 'a')
break
except IOError:
path = '%s-%s.log' % (basepath, i)