Commit 2d77403a authored by Avery Pennarun's avatar Avery Pennarun

Don't use try/except/finally so that python 2.4 works.

Use try/(try/except)/finally instead.  There was only once case of this.

Thanks to Wayne Scott and nisc for pointing this out.
parent 77cf37e0
......@@ -78,6 +78,7 @@ def start_hostwatch(seed_hosts):
if not pid:
# child
rv = 99
try:
try:
s2.close()
os.dup2(s1.fileno(), 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment