diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-22 02:02:23 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-22 02:02:23 +0000 |
commit | 32d43381dfc0370acb774951f9cdd0cdb1ab7f1b (patch) | |
tree | cfb37241df8d869ed08a24b3021a4a599cb98bdb /ca | |
parent | 1ca142b706eab552f9e2c575ef15d1862516393b (diff) |
First cut at replacing rpkid's HTTP and I/O system with Tornado. Not
quite working perfectly yet (cron is a bit wonky) but manages to
produce an initial set of ROAs without thowing any exceptions, and
code is already much cleaner than the old callback-based horror.
svn path=/branches/tk705/; revision=6139
Diffstat (limited to 'ca')
-rw-r--r-- | ca/tests/smoketest.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ca/tests/smoketest.py b/ca/tests/smoketest.py index 5f18119c..3960981a 100644 --- a/ca/tests/smoketest.py +++ b/ca/tests/smoketest.py @@ -48,7 +48,6 @@ import rpki.log import rpki.left_right import rpki.config import rpki.publication_control -import rpki.async from rpki.mysql_import import MySQLdb @@ -784,7 +783,7 @@ class allocation(object): for sql in rpki_sql: try: cur.execute(sql) - except Exception: + except: if "DROP TABLE IF EXISTS" not in sql.upper(): raise db.close() @@ -795,7 +794,7 @@ class allocation(object): for sql in irdb_sql: try: cur.execute(sql) - except Exception: + except: if "DROP TABLE IF EXISTS" not in sql.upper(): raise for s in [self] + self.hosts: @@ -1244,7 +1243,7 @@ def setup_publication(pubd_sql, irdb_db_name): for sql in pubd_sql: try: cur.execute(sql) - except Exception: + except: if "DROP TABLE IF EXISTS" not in sql.upper(): raise db.close() |