cwconfig.py
changeset 10614 57dfde80df11
parent 10591 8e46ed1a0b8a
child 10622 3cc6154b94a3
--- 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)