def set_html_format(option, opt_str, value, parser): parser.values.output_module = dnuos.output.html deprecation( _('The %s option is deprecated and will be removed in a ' 'future version. Use --template=html instead to ensure ' 'compatibility with future versions.') % opt_str)
def set_db_format(option, opt_str, value, parser): parser.values.outfile = value parser.values.output_module = dnuos.output.db deprecation(_('The %s option is deprecated and will be removed in a ' 'future version. Use --template=db --file=FILE instead to ' 'ensure compatibility with future versions.') % opt_str)
def set_db_format(option, opt_str, value, parser): parser.values.outfile = value parser.values.output_module = dnuos.output.db deprecation( _('The %s option is deprecated and will be removed in a ' 'future version. Use --template=db --file=FILE instead to ' 'ensure compatibility with future versions.') % opt_str)
def set_html_format(option, opt_str, value, parser): parser.values.output_module = dnuos.output.html deprecation(_('The %s option is deprecated and will be removed in a ' 'future version. Use --template=html instead to ensure ' 'compatibility with future versions.') % opt_str)