From 35c1ca65ac2b5cbd943248d59b3e02c6220b232f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 29 May 2014 22:31:15 +0000 Subject: PyLint svn path=/trunk/; revision=5845 --- ca/tests/sql-cleaner.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ca/tests/sql-cleaner.py') diff --git a/ca/tests/sql-cleaner.py b/ca/tests/sql-cleaner.py index c5b25ac2..ca88d456 100644 --- a/ca/tests/sql-cleaner.py +++ b/ca/tests/sql-cleaner.py @@ -1,11 +1,11 @@ # $Id$ -# +# # Copyright (C) 2009--2012 Internet Systems Consortium ("ISC") -# +# # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, @@ -28,7 +28,7 @@ for name in ("rpkid", "irdbd", "pubd"): username = cfg.get("%s_sql_username" % name, name[:4]) password = cfg.get("%s_sql_password" % name, "fnord") - + schema = [] for line in getattr(rpki.sql_schemas, name, "").splitlines(): schema.extend(line.partition("--")[0].split()) @@ -52,7 +52,7 @@ for name in ("rpkid", "irdbd", "pubd"): cur.execute("SET foreign_key_checks = 0") for table in tables: cur.execute("DROP TABLE %s" % table) - cur.execute("SET foreign_key_checks = 1") + cur.execute("SET foreign_key_checks = 1") for statement in schema: cur.execute(statement) -- cgit v1.2.3