diff options
author | Rob Austein <sra@hactrn.net> | 2009-05-10 20:51:21 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-05-10 20:51:21 +0000 |
commit | 3031f6ecc8ee5a3e137f835ea5e7f6d40ce99f34 (patch) | |
tree | e68e393c6087d2a524a07988b01e839952ef0d4b /rpkid/testbed.py | |
parent | 18b0cb5714699d1069e0458410af92a39dbdfe8b (diff) |
Lint
svn path=/rpkid/irbe_cli.py; revision=2419
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r-- | rpkid/testbed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py index 16cee892..7ad20534 100644 --- a/rpkid/testbed.py +++ b/rpkid/testbed.py @@ -165,7 +165,7 @@ class main(object): # Connect to test directory, creating it if necessary try: os.chdir(testbed_dir) - except: + except OSError: os.makedirs(testbed_dir) os.chdir(testbed_dir) @@ -641,7 +641,7 @@ class allocation(object): try: rpki.log.info("Killing pid %d" % proc.pid) os.kill(proc.pid, signal.SIGTERM) - except: + except OSError: pass proc.wait() |