Major bug fix to avoid tracebacks when multiple targets are specified and one

of them is not reachable.
Minor bug fix to make the --postfix work even if --prefix is not provided.
This commit is contained in:
Bernardo Damele
2008-12-18 20:38:57 +00:00
parent 2efb3ae2ba
commit c32ef9d751
5 changed files with 36 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ class Agent:
if conf.prefix:
query = conf.prefix
else:
if kb.injType == "numeric":
if kb.injType == "numeric" or conf.postfix:
pass
elif kb.injType in ( "stringsingle", "likesingle" ):
query = "'"