diff options
author | Rob Austein <sra@hactrn.net> | 2008-05-10 02:59:29 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-05-10 02:59:29 +0000 |
commit | 086ac530c93804c087f23e588df37326278f251e (patch) | |
tree | fbebb0ae6bbee5fab1617c6103475a60c8e4e924 /rpkid/rpki/sql.py | |
parent | e5495c4125f70c02dd88fa5d33ea431038350a28 (diff) |
Checkpoint of debugging code while chasing interop issues
svn path=/rpkid/rpki/gctx.py; revision=1762
Diffstat (limited to 'rpkid/rpki/sql.py')
-rw-r--r-- | rpkid/rpki/sql.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpkid/rpki/sql.py b/rpkid/rpki/sql.py index 85c85a6a..6cab30d9 100644 --- a/rpkid/rpki/sql.py +++ b/rpkid/rpki/sql.py @@ -67,6 +67,7 @@ class sql_persistant(object): key, we check for a cache hit directly in the hope of bypassing the SQL lookup entirely. """ + assert isinstance(id, (int, long)) key = (cls, id) if key in gctx.sql_cache: return gctx.sql_cache[key] |