tests/killdaemons.py
changeset 9031 3b76321aa0de
parent 7344 58fd3c718ca4
child 10905 13a1b2fb7ef2
--- a/tests/killdaemons.py	Sun Jul 05 11:01:01 2009 +0200
+++ b/tests/killdaemons.py	Sun Jul 05 11:01:30 2009 +0200
@@ -4,7 +4,7 @@
 
 # Kill off any leftover daemon processes
 try:
-    fp = file(os.environ['DAEMON_PIDS'])
+    fp = open(os.environ['DAEMON_PIDS'])
     for line in fp:
         try:
             pid = int(line)