def checkDeprecatedOptions(args):
 for _ in args:
  if (_ in DEPRECATED_OPTIONS):
   errMsg = ("switch/option '%s' is deprecated" % _)
   if DEPRECATED_OPTIONS[_]:
    errMsg += (' (hint: %s)' % DEPRECATED_OPTIONS[_])
   raise SqlmapSyntaxException(errMsg)

def checkDeprecatedOptions ( args ) : for _ in args : if ( _ in DEPRECATED_OPTIONS ) : errMsg = ( "switch/option '%s' is deprecated" % _ ) if DEPRECATED_OPTIONS [ _ ] : errMsg += ( ' (hint: %s)' % DEPRECATED_OPTIONS [ _ ] ) raise SqlmapSyntaxException ( errMsg )
checks for deprecated options .