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 --- rpki/pubd.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'rpki/pubd.py') diff --git a/rpki/pubd.py b/rpki/pubd.py index 8e45aff7..79315a78 100644 --- a/rpki/pubd.py +++ b/rpki/pubd.py @@ -1,13 +1,13 @@ # $Id$ -# +# # Copyright (C) 2013--2014 Dragon Research Labs ("DRL") # Portions copyright (C) 2009--2012 Internet Systems Consortium ("ISC") # Portions copyright (C) 2007--2008 American Registry for Internet Numbers ("ARIN") -# +# # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notices and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND DRL, ISC, AND ARIN DISCLAIM ALL # WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DRL, @@ -22,11 +22,10 @@ RPKI publication engine. """ import os +import re import time import logging import argparse -import sys -import re import rpki.resource_set import rpki.up_down import rpki.x509 @@ -82,14 +81,14 @@ class main(object): prof.runcall(self.main) finally: prof.dump_stats(self.profile) - logger.info("Dumped profile data to %s" % self.profile) + logger.info("Dumped profile data to %s", self.profile) else: self.main() def main(self): if self.profile: - logger.info("Running in profile mode with output to %s" % self.profile) + logger.info("Running in profile mode with output to %s", self.profile) self.sql = rpki.sql.session(self.cfg) -- cgit v1.2.3