aboutsummaryrefslogtreecommitdiff
path: root/rpki/mysql_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/mysql_import.py')
-rw-r--r--rpki/mysql_import.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpki/mysql_import.py b/rpki/mysql_import.py
index 538e1916..bbb7ac22 100644
--- a/rpki/mysql_import.py
+++ b/rpki/mysql_import.py
@@ -52,11 +52,11 @@ from __future__ import with_statement
import warnings
if hasattr(warnings, "catch_warnings"):
- with warnings.catch_warnings():
- warnings.simplefilter("ignore", DeprecationWarning)
- import MySQLdb
+ with warnings.catch_warnings():
+ warnings.simplefilter("ignore", DeprecationWarning)
+ import MySQLdb
else:
- import MySQLdb
+ import MySQLdb
import _mysql_exceptions