Skip to content

Commit

Permalink
fix test for python 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Mar 4, 2013
1 parent 4127215 commit 6536cb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import signal
import sys
import select
import struct
Expand Down Expand Up @@ -117,7 +119,7 @@ def get_table(key):
finally:
for p in [p1, p2]:
try:
p.kill()
os.kill(p.pid, signal.SIGTERM)
except OSError:
pass

Expand Down

0 comments on commit 6536cb2

Please sign in to comment.