diff options
author | Rob Austein <sra@hactrn.net> | 2007-12-22 17:10:57 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-12-22 17:10:57 +0000 |
commit | 0d72c2b7b4f95049ba08c9b39e3d46b710008dab (patch) | |
tree | 1c8ef1a673af146901f765819396987aa4fada0c /scripts/rpki/exceptions.py | |
parent | dd3bb389110e757506a0996fd72adc99fed133de (diff) |
Whack SQL usage to let MySQLdb handle the quoting, per the Python DB API.
svn path=/scripts/irbe-setup.py; revision=1421
Diffstat (limited to 'scripts/rpki/exceptions.py')
-rw-r--r-- | scripts/rpki/exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rpki/exceptions.py b/scripts/rpki/exceptions.py index 51327bff..1b241832 100644 --- a/scripts/rpki/exceptions.py +++ b/scripts/rpki/exceptions.py @@ -67,3 +67,6 @@ class SubprocessError(Exception): class BadIRDBReply(Exception): """Unexpected reply to IRDB query.""" + +class NotFound(Exception): + """Object not found in database.""" |