# HG changeset patch # User Alejandro Santos # Date 1246784490 -7200 # Node ID 6a5b8503058d9f146836a9d8ff7467c146fb885e # Parent 17bcbb020dda24fb87c655873432df8fa5e09b75 compat: use open() instead of file() everywhere [ original upstream message only for killdaemons here ] diff -r 17bcbb020dda -r 6a5b8503058d tests/killdaemons.py --- 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)