diff options
author | Rob Austein <sra@hactrn.net> | 2012-10-18 23:53:23 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-10-18 23:53:23 +0000 |
commit | c4be735c645bdbcb86b2448899a3aa664d5e97df (patch) | |
tree | ebaa086e7376be3a512eab0fccce05494ef602a5 /rpkid/rpki/sql.py | |
parent | 5897dfa4261927dafabc3ed6c16f27aa932efc42 (diff) |
pylint
svn path=/branches/tk274/; revision=4786
Diffstat (limited to 'rpkid/rpki/sql.py')
-rw-r--r-- | rpkid/rpki/sql.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/rpki/sql.py b/rpkid/rpki/sql.py index 1bb607cc..c4c9a7ae 100644 --- a/rpkid/rpki/sql.py +++ b/rpkid/rpki/sql.py @@ -3,7 +3,7 @@ SQL interface code. $Id$ -Copyright (C) 2009 Internet Systems Consortium ("ISC") +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 @@ -176,7 +176,7 @@ class sql_persistent(object): sql_debug = False @classmethod - def sql_fetch(cls, gctx, id): + def sql_fetch(cls, gctx, id): # pylint: disable=W0622 """ Fetch one object from SQL, based on its primary key. @@ -312,7 +312,7 @@ class sql_persistent(object): Delete this object from SQL. """ if self.sql_in_db: - id = getattr(self, self.sql_template.index) + id = getattr(self, self.sql_template.index) # pylint: disable=W0622 if self.sql_debug: rpki.log.debug("sql_fetch_delete(%r, %r)" % (self.sql_template.delete, id)) self.sql_delete_hook() |