Exemple #1
0
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)
Exemple #2
0
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)
Exemple #3
0
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)
Exemple #4
0
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)