diff options
author | Rob Austein <sra@hactrn.net> | 2009-12-21 17:17:55 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-12-21 17:17:55 +0000 |
commit | 01514ffc034a1d38f965a023f48ae92d0fdefc07 (patch) | |
tree | 221c0be2301a91645633ee588137642fe803e836 /rpkid/testbed.py | |
parent | cba5f61350bc202daeaace764f2c4366f8fcac53 (diff) |
Have to import "with" statement from future into Python 2.5 to avoid
syntax errors while suppressing MySQLdb set deprecation warnings in
Python 2.6. Feh.
svn path=/rpkid/irdbd.py; revision=2895
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r-- | rpkid/testbed.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py index efcbaf5c..3554c577 100644 --- a/rpkid/testbed.py +++ b/rpkid/testbed.py @@ -48,6 +48,8 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """ +from __future__ import with_statement + import os, yaml, warnings, subprocess, signal, time, getopt, sys import rpki.resource_set, rpki.sundial, rpki.x509, rpki.https import rpki.log, rpki.left_right, rpki.config, rpki.publication, rpki.async |