Mercurial > hg
comparison tests/killdaemons.py @ 10905:13a1b2fb7ef2
pylint, pyflakes: remove unused or duplicate imports
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 14 Apr 2010 17:58:10 +0900 |
parents | 3b76321aa0de |
children | eddfb9a550d0 |
comparison
equal
deleted
inserted
replaced
10903:cd21bf199d17 | 10905:13a1b2fb7ef2 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 import os, sys, time, errno, signal | 3 import os, time, errno, signal |
4 | 4 |
5 # Kill off any leftover daemon processes | 5 # Kill off any leftover daemon processes |
6 try: | 6 try: |
7 fp = open(os.environ['DAEMON_PIDS']) | 7 fp = open(os.environ['DAEMON_PIDS']) |
8 for line in fp: | 8 for line in fp: |