compat: use open() instead of file() everywhere
[ original upstream message only for killdaemons here ]
--- a/tests/killdaemons.py Fri Nov 07 16:28:53 2008 -0600
+++ 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)