aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki-sql-setup.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-03-18 03:51:12 +0000
committerRob Austein <sra@hactrn.net>2011-03-18 03:51:12 +0000
commit42b211b6aa4aff2c233aa5a6fe30f231a423e068 (patch)
treef137b4bbbe1dc73696211a03c38b270b015520fa /rpkid/rpki-sql-setup.py
parent94b7b05f1104c2350b41d63c09f35bde0f0a0b83 (diff)
Add @property decorators to a bunch of methods that are just syntactic
sugar around cached SQL object fetches. Checkpoint of incomplete support for Ghostbusters reords. Clean up a few extraneous imports. svn path=/rpkid/Makefile.in; revision=3725
Diffstat (limited to 'rpkid/rpki-sql-setup.py')
-rw-r--r--rpkid/rpki-sql-setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki-sql-setup.py b/rpkid/rpki-sql-setup.py
index 360b76a9..dc463620 100644
--- a/rpkid/rpki-sql-setup.py
+++ b/rpkid/rpki-sql-setup.py
@@ -4,7 +4,7 @@ root password, pulls other information from rpki.conf.
$Id$
-Copyright (C) 2009--2010 Internet Systems Consortium ("ISC")
+Copyright (C) 2009--2011 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
@@ -21,7 +21,7 @@ PERFORMANCE OF THIS SOFTWARE.
from __future__ import with_statement
-import os, getopt, sys, time, rpki.config, getpass, warnings
+import os, getopt, sys, rpki.config, getpass, warnings
# Silence warning while loading MySQLdb in Python 2.6, sigh
if hasattr(warnings, "catch_warnings"):