1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- treat "no_verify" as a boolean

This commit is contained in:
Marcus Huewe 2010-08-12 23:13:51 +02:00
parent 5fe669b15b
commit cbebe3b239
2 changed files with 2 additions and 2 deletions

View File

@ -4097,7 +4097,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
p = Package('.')
p.run_source_services()
if conf.config['no_verify'] == '1':
if conf.config['no_verify']:
opts.no_verify = True
if opts.prefer_pkgs:

View File

@ -135,7 +135,7 @@ config = DEFAULTS.copy()
boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback', 'check_filelist', 'plaintext_passwd',
'checkout_no_colon', 'check_for_request_on_action', 'linkcontrol', 'show_download_progress', 'request_show_interactive',
'use_keyring', 'gnome_keyring']
'use_keyring', 'gnome_keyring', 'no_verify']
api_host_options = ['user', 'pass', 'passx', 'aliases', 'http_headers', 'email', 'sslcertck', 'cafile', 'capath', 'trusted_prj']